Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002567/0.002567, allocations: 99.53 kB / 21.73 MB, free: 2.695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003027/0.003027, allocations: 164.5 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 250.4 MB, free: 7.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.306e-05, allocations: 14.11 kB / 250.4 MB, free: 7.887 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006554/0.006587, allocations: 3.942 MB / 254.3 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.008906, allocations: 0.8927 MB / 255.2 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004626/0.009368, allocations: 11.94 kB / 255.2 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.009818, allocations: 99.06 kB / 255.3 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.01062, allocations: 194.2 kB / 255.5 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.01123, allocations: 139.8 kB / 255.7 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.01256, allocations: 0.704 MB / 256.4 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.01292, allocations: 131.7 kB / 256.5 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.01355, allocations: 399 kB / 256.9 MB, free: 1.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.01393, allocations: 215.3 kB / 257.1 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.01404, allocations: 56 kB / 257.2 MB, free: 1.078 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.01415, allocations: 52 kB / 257.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.01431, allocations: 139.4 kB / 257.3 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.01459, allocations: 215.4 kB / 257.6 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.01546, allocations: 0.658 MB / 258.2 MB, free: 20 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01547, allocations: 4 kB / 258.2 MB, free: 16 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01547, allocations: 0 / 258.2 MB, free: 16 kB / 234.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01548, allocations: 0 / 258.2 MB, free: 16 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001733/0.01721, allocations: 0.92 MB / 259.1 MB, free: 15.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.01725, allocations: 11.98 kB / 259.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.01745, allocations: 104.6 kB / 259.2 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.01804, allocations: 324.1 kB / 259.6 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.01808, allocations: 37.38 kB / 259.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.01819, allocations: 56.38 kB / 259.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.01924, allocations: 0.6353 MB / 260.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01926, allocations: 8.125 kB / 260.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.01931, allocations: 20.38 kB / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.01933, allocations: 15.94 kB / 260.3 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.01999, allocations: 316.4 kB / 260.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.02324, allocations: 1.731 MB / 262.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.02381, allocations: 258.1 kB / 262.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.02407, allocations: 131.6 kB / 262.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.02411, allocations: 8 kB / 262.8 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.02416, allocations: 53.62 kB / 262.8 MB, free: 11.17 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 5.199e-06/0.02417, allocations: 4 kB / 262.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.00215/0.02632, allocations: 0.8146 MB / 263.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.02638, allocations: 81.11 kB / 263.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.02694, allocations: 470.6 kB / 264.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.02697, allocations: 37.7 kB / 264.2 MB, free: 9.688 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.02725, allocations: 358.7 kB / 264.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02736, allocations: 115.1 kB / 264.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.02752, allocations: 87.81 kB / 264.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003075/0.02783, allocations: 0.5313 MB / 265.3 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.02805, allocations: 96.95 kB / 265.4 MB, free: 8.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.02842, allocations: 233.1 kB / 265.6 MB, free: 8.207 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.02903, allocations: 352.4 kB / 266 MB, free: 7.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02903, allocations: 0 / 266 MB, free: 7.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009558/0.02999, allocations: 476 kB / 266.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.03001, allocations: 4 kB / 266.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.03002, allocations: 4 kB / 266.4 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/0.03073, allocations: 123.6 kB / 266.5 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.03106, allocations: 71.91 kB / 266.6 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.03511, allocations: 4.014 MB / 270.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.03544, allocations: 16.28 kB / 270.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.03547, allocations: 19.94 kB / 270.7 MB, free: 2.832 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.03575, allocations: 216.5 kB / 270.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.03585, allocations: 47.77 kB / 270.9 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.03594, allocations: 43.27 kB / 271 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.03595, allocations: 7.984 kB / 271 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.03596, allocations: 4 kB / 271 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.03597, allocations: 0 / 271 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.03764, allocations: 0.9642 MB / 271.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.03765, allocations: 3.984 kB / 271.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.03784, allocations: 39.92 kB / 272 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.03846, allocations: 119.2 kB / 272.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.03848, allocations: 4 kB / 272.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.04202, allocations: 4.018 MB / 276.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.04202, allocations: 4 kB / 276.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.04312, allocations: 0.7018 MB / 276.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.04324, allocations: 47.58 kB / 276.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.04329, allocations: 15.98 kB / 276.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.04363, allocations: 23.98 kB / 276.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.04372, allocations: 23.95 kB / 276.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.04376, allocations: 12 kB / 277 MB, free: 12.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005132/0.04427, allocations: 319.1 kB / 277.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04427, allocations: 0 / 277.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.04491, allocations: 116 kB / 277.4 MB, free: 11.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.04509, allocations: 107.2 kB / 277.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.0463, allocations: 0.627 MB / 278.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.0463, allocations: 0 / 278.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.04707, allocations: 0.4985 MB / 278.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.0476, allocations: 61.86 kB / 278.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.04976, allocations: 0.9155 MB / 279.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.05011, allocations: 230.2 kB / 279.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.05033, allocations: 43.27 kB / 279.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.05045, allocations: 32.48 kB / 279.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of SimCode: time 1.073e-06/0.05045, allocations: 0 / 279.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of Templates: time 0.01589/0.06634, allocations: 4.523 MB / 284.4 MB, free: 4.664 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.21921215695329]