Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.001242/0.001242, allocations: 192.1 kB / 18.51 MB, free: 4.637 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.52/1.52, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001213/0.001214, allocations: 55.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01031/0.1197, allocations: 7.717 MB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.1252, allocations: 2.731 MB / 337.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.1261, allocations: 55.69 kB / 337.8 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.1274, allocations: 0.5627 MB / 338.3 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.1291, allocations: 0.7263 MB / 339.1 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.1299, allocations: 447.4 kB / 339.5 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.1331, allocations: 3.378 MB / 342.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003592/0.1367, allocations: 3.441 MB / 346.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.1394, allocations: 1.658 MB / 348 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1418, allocations: 2.02 MB / 350 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005945/0.1424, allocations: 460 kB / 350.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1436, allocations: 0.6675 MB / 351.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.1447, allocations: 1.235 MB / 352.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.1466, allocations: 1.972 MB / 354.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.1518, allocations: 6.029 MB / 360.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1518, allocations: 8 kB / 360.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1518, allocations: 0 / 360.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.618e-05/0.1519, allocations: 4 kB / 360.4 MB, free: 3.207 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006708/0.1586, allocations: 3.775 MB / 364.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1586, allocations: 8.031 kB / 364.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.1595, allocations: 388.6 kB / 364.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.1622, allocations: 1.952 MB / 366.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.1624, allocations: 229.8 kB / 366.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.1627, allocations: 283.9 kB / 367 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005911/0.1687, allocations: 4.187 MB / 371.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.1687, allocations: 0 / 371.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.169, allocations: 124 kB / 371.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.1692, allocations: 149.8 kB / 371.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.1743, allocations: 3.482 MB / 374.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.399, allocations: 10.93 MB / 385.9 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.4019, allocations: 2.646 MB / 388.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/0.4045, allocations: 1.475 MB / 390 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.4047, allocations: 125.2 kB / 390.1 MB, free: 44.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4048, allocations: 58.03 kB / 390.2 MB, free: 44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.4048, allocations: 0 / 390.2 MB, free: 44 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009211/0.414, allocations: 5.28 MB / 395.4 MB, free: 41.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.4141, allocations: 90.8 kB / 395.5 MB, free: 41.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.4171, allocations: 1.918 MB / 397.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.4172, allocations: 53.58 kB / 397.5 MB, free: 40.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.4179, allocations: 1.32 MB / 398.8 MB, free: 39.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.4182, allocations: 455.7 kB / 399.3 MB, free: 38.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.4185, allocations: 265.9 kB / 399.5 MB, free: 38.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.4186, allocations: 305.1 kB / 399.8 MB, free: 38.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4197, allocations: 0.8134 MB / 400.6 MB, free: 37.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.421, allocations: 1.189 MB / 401.8 MB, free: 37.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.4232, allocations: 2.089 MB / 403.9 MB, free: 35.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4232, allocations: 7.625 kB / 403.9 MB, free: 35.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003515/0.4268, allocations: 2.533 MB / 406.4 MB, free: 34.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4268, allocations: 8 kB / 406.5 MB, free: 34.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4268, allocations: 12 kB / 406.5 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.4285, allocations: 479.1 kB / 406.9 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.4296, allocations: 335.5 kB / 407.3 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.4338, allocations: 4.403 MB / 411.7 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4355, allocations: 95.64 kB / 411.8 MB, free: 28.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.4356, allocations: 60 kB / 411.8 MB, free: 28.83 MB / 318.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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.4374, allocations: 1.048 MB / 412.9 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/0.438, allocations: 189.7 kB / 413.1 MB, free: 27.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.441, allocations: 2.145 MB / 415.2 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/0.4411, allocations: 16 kB / 415.2 MB, free: 25.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.4411, allocations: 4 kB / 415.2 MB, free: 25.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4411, allocations: 3.984 kB / 415.2 MB, free: 25.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/0.4489, allocations: 5.192 MB / 420.4 MB, free: 20.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4489, allocations: 4 kB / 420.4 MB, free: 20.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/0.4498, allocations: 227.6 kB / 420.6 MB, free: 19.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.4513, allocations: 468.1 kB / 421.1 MB, free: 19.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/0.4514, allocations: 37.3 kB / 421.1 MB, free: 19.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005937/0.4574, allocations: 4.299 MB / 425.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4574, allocations: 0 / 425.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.4628, allocations: 3.253 MB / 428.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.4641, allocations: 454.7 kB / 429.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005833/0.4647, allocations: 40.05 kB / 429.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.466, allocations: 87.91 kB / 429.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.4662, allocations: 100.8 kB / 429.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.4664, allocations: 39.98 kB / 429.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.4684, allocations: 1.337 MB / 430.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4684, allocations: 3.938 kB / 430.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001999/0.4704, allocations: 0.5614 MB / 431.3 MB, free: 9.086 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005845/0.471, allocations: 229.1 kB / 431.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.4756, allocations: 2.865 MB / 434.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4756, allocations: 4.062 kB / 434.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.4773, allocations: 1.218 MB / 435.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.4798, allocations: 0.5027 MB / 436.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.4908, allocations: 5.805 MB / 441.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/0.4943, allocations: 2.423 MB / 444.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002349/0.4967, allocations: 495.4 kB / 444.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.4973, allocations: 131.4 kB / 444.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4973, allocations: 0 / 444.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.05486/0.5522, allocations: 30.19 MB / 475.1 MB, free: 13.13 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches