Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 97.61 kB / 17.72 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 188.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 55.88 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.2138/0.3203, allocations: 5.874 MB / 380.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.3237, allocations: 1.909 MB / 382.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.3242, allocations: 19.72 kB / 382.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.3275, allocations: 1.629 MB / 384.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.3296, allocations: 0.8287 MB / 384.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.3302, allocations: 283.9 kB / 385.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.3312, allocations: 0.9003 MB / 386.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3324, allocations: 0.8761 MB / 387 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000442/0.3329, allocations: 394.2 kB / 387.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.3335, allocations: 0.526 MB / 387.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3336, allocations: 84.53 kB / 387.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.3342, allocations: 251.5 kB / 388.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3344, allocations: 206.1 kB / 388.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.3347, allocations: 466.7 kB / 388.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3361, allocations: 1.233 MB / 390.1 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3361, allocations: 0 / 390.1 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3362, allocations: 0 / 390.1 MB, free: 6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3362, allocations: 0 / 390.1 MB, free: 6 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003347/0.3395, allocations: 1.425 MB / 391.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3396, allocations: 8.906 kB / 391.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.3398, allocations: 162.4 kB / 391.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.3464, allocations: 0.974 MB / 392.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.3472, allocations: 446.3 kB / 393.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.3472, allocations: 82.02 kB / 393.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.3474, allocations: 110.9 kB / 393.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3495, allocations: 1.128 MB / 394.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3495, allocations: 1.406 kB / 394.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/0.3496, allocations: 49.5 kB / 394.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.3497, allocations: 26.66 kB / 394.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3518, allocations: 1.132 MB / 395.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/0.3567, allocations: 3.926 MB / 399.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.36, allocations: 3.753 MB / 403.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.3605, allocations: 323.4 kB / 403.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.3606, allocations: 100.6 kB / 403.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3606, allocations: 46 kB / 403.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/0.3606, allocations: 0 / 403.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001454/0.3621, allocations: 0.7574 MB / 404.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.3622, allocations: 115.8 kB / 404.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.3626, allocations: 326 kB / 404.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.3626, allocations: 37.48 kB / 405 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.3629, allocations: 445.1 kB / 405.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.3631, allocations: 238.5 kB / 405.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.3633, allocations: 176 kB / 405.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3635, allocations: 353.1 kB / 406.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.364, allocations: 245.4 kB / 406.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.3647, allocations: 0.5667 MB / 407 MB, free: 10.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3659, allocations: 0.8682 MB / 407.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.3659, allocations: 3.906 kB / 407.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0015/0.3674, allocations: 0.9068 MB / 408.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3674, allocations: 8.938 kB / 408.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3674, allocations: 15.2 kB / 408.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.3675, allocations: 16.38 kB / 408.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.3683, allocations: 237.5 kB / 409 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.3683, allocations: 28.67 kB / 409 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.3688, allocations: 98.69 kB / 409.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.3689, allocations: 47.42 kB / 409.2 MB, free: 9.051 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.3692, allocations: 237 kB / 409.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3693, allocations: 50.06 kB / 409.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3705, allocations: 0.6796 MB / 410.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3705, allocations: 7.188 kB / 410.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.3706, allocations: 4.781 kB / 410.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3706, allocations: 5.109 kB / 410.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.3729, allocations: 1.576 MB / 411.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3729, allocations: 1.125 kB / 411.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.3735, allocations: 154 kB / 411.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3735, allocations: 2.75 kB / 411.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.3736, allocations: 17.22 kB / 411.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3736, allocations: 2.688 kB / 411.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3736, allocations: 2.781 kB / 411.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3751, allocations: 1.171 MB / 413.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3752, allocations: 128.3 kB / 413.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.3753, allocations: 21.23 kB / 413.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.3757, allocations: 18.09 kB / 413.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3758, allocations: 57.41 kB / 413.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.3758, allocations: 19.84 kB / 413.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.376, allocations: 213.3 kB / 413.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.376, allocations: 0 / 413.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007925/0.3768, allocations: 247.1 kB / 413.8 MB, free: 6.141 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/0.3787, allocations: 1.763 MB / 415.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3798, allocations: 0.6872 MB / 416.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3798, allocations: 1 kB / 416.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.3803, allocations: 322.5 kB / 416.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3808, allocations: 48.34 kB / 416.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.3879, allocations: 5.519 MB / 422.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.3885, allocations: 0.9281 MB / 423 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.3888, allocations: 92.89 kB / 423.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.3892, allocations: 291.3 kB / 423.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3892, allocations: 0 / 423.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.4251, allocations: 10.63 MB / 434 MB, free: 2.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.848, allocations: 7.859 kB / 434 MB, free: 2.613 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches