Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001438/0.001438, allocations: 116.2 kB / 17.06 MB, free: 6 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.001641/0.001641, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 43.94 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.352, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007896/0.3599, allocations: 5.611 MB / 405.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.3641, allocations: 1.81 MB / 407.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3651, allocations: 20 kB / 407.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.3695, allocations: 1.605 MB / 409.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.372, allocations: 0.7641 MB / 410 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3731, allocations: 275.5 kB / 410.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3746, allocations: 0.8134 MB / 411.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.3764, allocations: 0.858 MB / 412 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007177/0.3772, allocations: 350.6 kB / 412.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000853/0.378, allocations: 494.1 kB / 412.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.3783, allocations: 80 kB / 412.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008394/0.3792, allocations: 235.9 kB / 413.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.3794, allocations: 191.2 kB / 413.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.3801, allocations: 422 kB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.3821, allocations: 1.164 MB / 414.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3821, allocations: 0 / 414.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3821, allocations: 4 kB / 414.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-05/0.3822, allocations: 0 / 414.9 MB, free: 10.06 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003916/0.3861, allocations: 1.354 MB / 416.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3862, allocations: 8.031 kB / 416.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.3864, allocations: 148.2 kB / 416.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.391, allocations: 0.6516 MB / 417 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.3921, allocations: 422.3 kB / 417.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.3922, allocations: 74.38 kB / 417.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.3925, allocations: 104.2 kB / 417.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.3948, allocations: 0.9822 MB / 418.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.3948, allocations: 0 / 418.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3949, allocations: 40 kB / 418.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.395, allocations: 28 kB / 418.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.397, allocations: 0.9174 MB / 419.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.4031, allocations: 3.339 MB / 422.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.406, allocations: 2.241 MB / 425.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.4067, allocations: 288.2 kB / 425.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.4069, allocations: 101.6 kB / 425.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.407, allocations: 47 kB / 425.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 4.359e-06/0.407, allocations: 4 kB / 425.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001602/0.4086, allocations: 0.7133 MB / 426.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.4087, allocations: 107.4 kB / 426.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.409, allocations: 274.4 kB / 426.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.4091, allocations: 37.7 kB / 426.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.4094, allocations: 378.9 kB / 427.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.4096, allocations: 232.7 kB / 427.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.4099, allocations: 134.6 kB / 427.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.41, allocations: 346.8 kB / 427.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.4105, allocations: 221.9 kB / 428 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006117/0.4111, allocations: 439.3 kB / 428.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4123, allocations: 0.6872 MB / 429.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.4123, allocations: 8 kB / 429.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001462/0.4138, allocations: 0.7445 MB / 429.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.4138, allocations: 11.94 kB / 429.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.4138, allocations: 7.984 kB / 429.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.4139, allocations: 12 kB / 429.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.4146, allocations: 191.7 kB / 430.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.4147, allocations: 12.34 kB / 430.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.4152, allocations: 87.2 kB / 430.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.4152, allocations: 28 kB / 430.2 MB, free: 9.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003735/0.4156, allocations: 217.6 kB / 430.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.4158, allocations: 47.41 kB / 430.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.4171, allocations: 0.6478 MB / 431.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.4172, allocations: 15.92 kB / 431.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.4172, allocations: 0 / 431.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.4172, allocations: 4 kB / 431.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.4201, allocations: 1.465 MB / 432.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4201, allocations: 3.938 kB / 432.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.4207, allocations: 143.9 kB / 432.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.4208, allocations: 4 kB / 432.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.4208, allocations: 20 kB / 432.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.4208, allocations: 7.938 kB / 432.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4209, allocations: 7.922 kB / 432.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.4226, allocations: 1.108 MB / 433.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4228, allocations: 124.5 kB / 434 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.4229, allocations: 12 kB / 434 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.4233, allocations: 31.92 kB / 434.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4234, allocations: 40.5 kB / 434.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.4235, allocations: 20 kB / 434.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.4237, allocations: 182 kB / 434.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4237, allocations: 0 / 434.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008969/0.4246, allocations: 223.1 kB / 434.5 MB, free: 5.375 MB / 350.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 (72): * Single equations (assignments): 72 * 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.002428/0.4271, allocations: 1.714 MB / 436.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.4284, allocations: 0.6109 MB / 436.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4284, allocations: 0 / 436.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.4289, allocations: 307 kB / 437.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.4296, allocations: 48.73 kB / 437.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.4371, allocations: 4.818 MB / 442 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.4378, allocations: 0.9007 MB / 442.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003659/0.4382, allocations: 76.39 kB / 443 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.4386, allocations: 259.3 kB / 443.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.695e-06/0.4386, allocations: 0 / 443.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.4801, allocations: 9.655 MB / 452.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.656, allocations: 4.5 kB / 452.9 MB, free: 2.82 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches