Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 84.25 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 162.8 kB / 25.61 MB, free: 8.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9439/0.9439, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 274.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.078e-05, allocations: 2.312 kB / 274.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003569/0.00358, allocations: 4.282 MB / 278.4 MB, free: 88 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.005419, allocations: 1.615 MB / 280 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.005645, allocations: 11.94 kB / 280 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.005901, allocations: 122.8 kB / 280.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.006455, allocations: 381.3 kB / 280.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.006746, allocations: 251.5 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.007393, allocations: 1.009 MB / 281.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.007595, allocations: 154.1 kB / 281.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.008097, allocations: 0.5614 MB / 282.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.008427, allocations: 331.1 kB / 282.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.008511, allocations: 96 kB / 282.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.008761, allocations: 211.8 kB / 283.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.008956, allocations: 211.2 kB / 283.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.009147, allocations: 295.3 kB / 283.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.009733, allocations: 0.7007 MB / 284.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.009735, allocations: 3.938 kB / 284.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009735, allocations: 4 kB / 284.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.009742, allocations: 0 / 284.3 MB, free: 10.15 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001313/0.01105, allocations: 1.134 MB / 285.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.01109, allocations: 12.03 kB / 285.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.01128, allocations: 140.4 kB / 285.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.01169, allocations: 426.2 kB / 286 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.01178, allocations: 127 kB / 286.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.0119, allocations: 68.73 kB / 286.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.0124, allocations: 0.5309 MB / 286.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01241, allocations: 3.938 kB / 286.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.01245, allocations: 24 kB / 286.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.01246, allocations: 16 kB / 286.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.01275, allocations: 230.1 kB / 287 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.01455, allocations: 1.976 MB / 289 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.01489, allocations: 281.8 kB / 289.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.01504, allocations: 123.8 kB / 289.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.01506, allocations: 12 kB / 289.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.01508, allocations: 45.38 kB / 289.4 MB, free: 4.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.01508, allocations: 3.938 kB / 289.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004996/0.02008, allocations: 2.199 MB / 291.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.02011, allocations: 85.61 kB / 291.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.02041, allocations: 482.3 kB / 292.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.02045, allocations: 33.7 kB / 292.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02061, allocations: 379.4 kB / 292.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.02072, allocations: 218.1 kB / 292.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.02086, allocations: 123.9 kB / 292.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.02099, allocations: 0.5429 MB / 293.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.02111, allocations: 81.23 kB / 293.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.0213, allocations: 223.5 kB / 293.8 MB, free: 284 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.02163, allocations: 336.8 kB / 294.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02163, allocations: 0 / 294.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005211/0.02215, allocations: 456.3 kB / 294.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.02216, allocations: 4 kB / 294.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.02217, allocations: 4 kB / 294.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.02231, allocations: 51.91 kB / 294.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.02269, allocations: 159.8 kB / 294.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000691/0.02339, allocations: 1.745 MB / 296.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.02362, allocations: 39.94 kB / 296.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.02365, allocations: 19.98 kB / 296.5 MB, free: 13.31 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.0238, allocations: 192.5 kB / 296.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.02391, allocations: 79.59 kB / 296.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.02451, allocations: 0.5025 MB / 297.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.02452, allocations: 8 kB / 297.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.02452, allocations: 0 / 297.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02452, allocations: 3.984 kB / 297.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.02616, allocations: 1.159 MB / 298.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02616, allocations: 0 / 298.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.02641, allocations: 103.9 kB / 298.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/0.02729, allocations: 327.2 kB / 298.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.02733, allocations: 15.98 kB / 298.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.02945, allocations: 2.75 MB / 301.7 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02945, allocations: 0 / 301.7 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.03047, allocations: 0.9043 MB / 302.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.03063, allocations: 123.5 kB / 302.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.03069, allocations: 23.98 kB / 302.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.03094, allocations: 35.98 kB / 302.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.03102, allocations: 52.55 kB / 302.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.03104, allocations: 12 kB / 302.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.03123, allocations: 314.9 kB / 303.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03123, allocations: 0 / 303.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.03166, allocations: 188 kB / 303.3 MB, free: 6.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.03183, allocations: 161.7 kB / 303.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.03231, allocations: 495.3 kB / 304 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03232, allocations: 4.625 kB / 304 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.03267, allocations: 442.1 kB / 304.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.03305, allocations: 77.88 kB / 304.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.03478, allocations: 1.267 MB / 305.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.03487, allocations: 144.3 kB / 305.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.03504, allocations: 68.64 kB / 305.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.03528, allocations: 174.1 kB / 306.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03529, allocations: 0 / 306.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of Templates: time 0.01243/0.04772, allocations: 10.5 MB / 316.6 MB, free: 9.051 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9299685559235513]