Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 186.4 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 55.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.251, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004991/0.2559, allocations: 3.161 MB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2583, allocations: 1.407 MB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.2585, allocations: 8 kB / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.2617, allocations: 2.659 MB / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.2621, allocations: 170.7 kB / 430.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.2628, allocations: 309.7 kB / 430.8 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2646, allocations: 1.801 MB / 432.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2648, allocations: 95.34 kB / 432.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.2652, allocations: 317 kB / 433 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.2656, allocations: 326.7 kB / 433.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.826e-05/0.2657, allocations: 44 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2659, allocations: 91.97 kB / 433.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006591/0.2665, allocations: 0.8414 MB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.2671, allocations: 0.6628 MB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.2696, allocations: 2.656 MB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2696, allocations: 0 / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2696, allocations: 4 kB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.2696, allocations: 0 / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004191/0.2738, allocations: 2.832 MB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2738, allocations: 8.031 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.2742, allocations: 299 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.277, allocations: 1.782 MB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.2771, allocations: 114.7 kB / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.2773, allocations: 47.92 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.2781, allocations: 450.3 kB / 443.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.2781, allocations: 11.94 kB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.2781, allocations: 16 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2781, allocations: 8 kB / 443.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.2788, allocations: 323.7 kB / 443.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.2828, allocations: 2.552 MB / 446 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.2834, allocations: 308.7 kB / 446.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.2838, allocations: 159.1 kB / 446.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2838, allocations: 7.984 kB / 446.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2838, allocations: 42.42 kB / 446.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.724e-06/0.2838, allocations: 0 / 446.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004834/0.2887, allocations: 2.383 MB / 448.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.2887, allocations: 85.48 kB / 449 MB, free: 4.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006384/0.2951, allocations: 5.44 MB / 454.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.2952, allocations: 29.7 kB / 454.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.2965, allocations: 1.164 MB / 455.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.2966, allocations: 182.3 kB / 455.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.2968, allocations: 86.19 kB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.297, allocations: 322 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.2973, allocations: 140.9 kB / 456.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.2977, allocations: 217.1 kB / 456.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.2985, allocations: 380.3 kB / 456.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2985, allocations: 4 kB / 456.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001251/0.2997, allocations: 0.7011 MB / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2997, allocations: 10.66 kB / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2997, allocations: 0 / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2998, allocations: 4 kB / 457.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.3003, allocations: 119.8 kB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3003, allocations: 7.984 kB / 457.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.3007, allocations: 20.25 kB / 457.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3007, allocations: 20 kB / 457.8 MB, free: 11.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.001085/0.3018, allocations: 0.9192 MB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.3022, allocations: 286 kB / 459 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3036, allocations: 0.7941 MB / 459.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3036, allocations: 11.94 kB / 459.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3036, allocations: 0 / 459.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3036, allocations: 4 kB / 459.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.3052, allocations: 1.172 MB / 461 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3052, allocations: 0 / 461 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.3056, allocations: 95.88 kB / 461.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.306, allocations: 92.77 kB / 461.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.306, allocations: 15.94 kB / 461.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006128/0.3066, allocations: 0.6343 MB / 461.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3066, allocations: 4.031 kB / 461.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3083, allocations: 1.086 MB / 462.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/0.3093, allocations: 438 kB / 463.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.3095, allocations: 12 kB / 463.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.3099, allocations: 15.98 kB / 463.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.31, allocations: 32.38 kB / 463.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.31, allocations: 12 kB / 463.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004873/0.3149, allocations: 3.969 MB / 467.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3149, allocations: 0 / 467.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006638/0.3156, allocations: 215.9 kB / 467.6 MB, free: 1.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/0.3172, allocations: 429.4 kB / 468 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.3181, allocations: 360.8 kB / 468.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3181, allocations: 4 kB / 468.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.3185, allocations: 206.9 kB / 468.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.3195, allocations: 194 kB / 468.8 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/0.3275, allocations: 5.479 MB / 474.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.3291, allocations: 1.237 MB / 475.5 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005934/0.3297, allocations: 279.5 kB / 475.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.33, allocations: 87.42 kB / 475.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.33, allocations: 0 / 475.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of Templates: time 0.03517/0.3651, allocations: 17.41 MB / 493.2 MB, free: 7.926 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 4.908742194995284]