Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001908/0.001908, allocations: 112.5 kB / 18.45 MB, free: 4.543 MB / 14.72 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.00241/0.00241, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.94 kB / 374.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.34 MB / 427.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005154/0.1105, allocations: 3.458 MB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2253/0.3359, allocations: 1.657 MB / 432.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.3366, allocations: 10.47 kB / 432.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00406/0.3406, allocations: 2.658 MB / 435.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.3416, allocations: 232 kB / 435.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.3425, allocations: 317.5 kB / 435.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003306/0.3458, allocations: 1.813 MB / 437.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.3461, allocations: 98.12 kB / 437.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.3467, allocations: 335.5 kB / 438 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.3472, allocations: 355.4 kB / 438.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3474, allocations: 44.62 kB / 438.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.3476, allocations: 92.97 kB / 438.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009396/0.3486, allocations: 0.8444 MB / 439.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007469/0.3493, allocations: 0.9445 MB / 440.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.3527, allocations: 2.648 MB / 443 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3527, allocations: 0 / 443 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3527, allocations: 3.938 kB / 443 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.3528, allocations: 1.094 kB / 443 MB, free: 6.664 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.005277/0.3581, allocations: 2.921 MB / 445.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3581, allocations: 8.938 kB / 445.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.3587, allocations: 307.9 kB / 446.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.3615, allocations: 1.862 MB / 448.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/0.3615, allocations: 55.92 kB / 448.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.3617, allocations: 56.44 kB / 448.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.3624, allocations: 400.1 kB / 448.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3625, allocations: 0.5625 kB / 448.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.3625, allocations: 16.12 kB / 448.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3625, allocations: 10.64 kB / 448.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.3632, allocations: 328.7 kB / 448.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004711/0.3679, allocations: 2.906 MB / 451.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.3685, allocations: 298.7 kB / 452.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.3688, allocations: 156.5 kB / 452.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.3689, allocations: 11.5 kB / 452.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3689, allocations: 38.34 kB / 452.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/0.3689, allocations: 0 / 452.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005711/0.3746, allocations: 2.465 MB / 454.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.3747, allocations: 90.75 kB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00952/0.3842, allocations: 5.459 MB / 460.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.3843, allocations: 35.89 kB / 460.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.3857, allocations: 1.188 MB / 461.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3859, allocations: 172.8 kB / 461.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3861, allocations: 88.98 kB / 461.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3863, allocations: 326.9 kB / 462.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.3866, allocations: 136.8 kB / 462.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.387, allocations: 229.3 kB / 462.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.3878, allocations: 382.1 kB / 462.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.3878, allocations: 10.28 kB / 462.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001878/0.3897, allocations: 0.6974 MB / 463.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3897, allocations: 10.42 kB / 463.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3897, allocations: 1.125 kB / 463.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.3897, allocations: 5.719 kB / 463.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.3902, allocations: 121.7 kB / 463.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3902, allocations: 4.062 kB / 463.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/0.391, allocations: 22.89 kB / 463.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.3911, allocations: 17.03 kB / 463.7 MB, free: 10.52 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.001855/0.3929, allocations: 0.9241 MB / 464.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/0.3936, allocations: 284.2 kB / 464.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.3954, allocations: 0.7994 MB / 465.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3954, allocations: 5.5 kB / 465.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3954, allocations: 0.6094 kB / 465.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.3954, allocations: 5.359 kB / 465.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3979, allocations: 1.48 MB / 467.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3979, allocations: 3.938 kB / 467.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.3983, allocations: 99.81 kB / 467.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.3987, allocations: 88.8 kB / 467.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3988, allocations: 10.48 kB / 467.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006578/0.3994, allocations: 0.6266 MB / 468.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3994, allocations: 3.969 kB / 468.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.4015, allocations: 1.094 MB / 469.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/0.4025, allocations: 0.503 MB / 469.7 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.4027, allocations: 16.88 kB / 469.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.4032, allocations: 15.98 kB / 469.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.4033, allocations: 28.39 kB / 469.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.4033, allocations: 16 kB / 469.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00658/0.4099, allocations: 3.986 MB / 473.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 0 / 473.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001358/0.4112, allocations: 204 kB / 473.9 MB, free: 1.219 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.4129, allocations: 437.5 kB / 474.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009135/0.4138, allocations: 360.8 kB / 474.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4138, allocations: 0.5 kB / 474.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.4143, allocations: 206.4 kB / 474.9 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4158, allocations: 180.4 kB / 475.1 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4259, allocations: 5.69 MB / 480.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.4277, allocations: 1.829 MB / 482.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/0.4285, allocations: 95.42 kB / 482.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4285, allocations: 0 / 482.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of Templates: time 0.07196/0.5005, allocations: 36.2 MB / 0.5067 GB, free: 4.371 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.42884810900432]