Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001483/0.001483, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001662/0.001662, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 18.57 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.497/1.497, allocations: 177.2 MB / 204.6 MB, free: 5.613 MB / 186.7 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.506e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00617/0.006195, allocations: 3.983 MB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.009279, allocations: 1.562 MB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.009548, allocations: 15.88 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.009918, allocations: 118.9 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.01083, allocations: 385.3 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.01134, allocations: 239.5 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.01272, allocations: 1.013 MB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.01302, allocations: 154.1 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.0138, allocations: 0.5536 MB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.01434, allocations: 331.1 kB / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.01449, allocations: 96 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.01489, allocations: 211.8 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.01509, allocations: 199.2 kB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.01547, allocations: 299.3 kB / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.01705, allocations: 1.219 MB / 282.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01705, allocations: 4 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01705, allocations: 3.938 kB / 282.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01706, allocations: 0 / 282.7 MB, free: 7.449 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.002838/0.0199, allocations: 1.031 MB / 283.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.01994, allocations: 8.031 kB / 283.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.02032, allocations: 136.4 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.02126, allocations: 488.7 kB / 284.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.02142, allocations: 123 kB / 284.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.02164, allocations: 68.73 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.02302, allocations: 0.7029 MB / 285.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.02304, allocations: 7.938 kB / 285.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.02311, allocations: 24 kB / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.02313, allocations: 12 kB / 285.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.02438, allocations: 0.5204 MB / 285.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.02841, allocations: 1.992 MB / 287.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.02955, allocations: 463.9 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.03023, allocations: 246 kB / 288.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.03027, allocations: 8 kB / 288.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.03031, allocations: 46.48 kB / 288.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.03031, allocations: 0 / 288.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1273/0.1577, allocations: 3.324 MB / 291.8 MB, free: 28.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1577, allocations: 88.27 kB / 291.9 MB, free: 28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.1584, allocations: 0.5076 MB / 292.4 MB, free: 27.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.1584, allocations: 36.27 kB / 292.5 MB, free: 27.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1586, allocations: 322.7 kB / 292.8 MB, free: 27.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1587, allocations: 216.5 kB / 293 MB, free: 27.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1589, allocations: 117.4 kB / 293.1 MB, free: 27.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.159, allocations: 361 kB / 293.5 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.1596, allocations: 250.7 kB / 293.7 MB, free: 26.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.1602, allocations: 347.7 kB / 294 MB, free: 26.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1612, allocations: 0.6024 MB / 294.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1612, allocations: 1.5 kB / 294.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001482/0.1627, allocations: 0.7707 MB / 295.4 MB, free: 26.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1627, allocations: 6.812 kB / 295.4 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1627, allocations: 3 kB / 295.4 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.163, allocations: 53.22 kB / 295.5 MB, free: 26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.1638, allocations: 169.3 kB / 295.6 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007919/0.1646, allocations: 1.306 MB / 296.9 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.1652, allocations: 36.19 kB / 297 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.1653, allocations: 28.2 kB / 297 MB, free: 24.69 MB / 266.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.0002711/0.1655, allocations: 199.3 kB / 297.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.1657, allocations: 83.16 kB / 297.3 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1675, allocations: 0.8351 MB / 298.1 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1675, allocations: 11.77 kB / 298.1 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1675, allocations: 2.922 kB / 298.1 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.1675, allocations: 3.047 kB / 298.1 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.171, allocations: 1.59 MB / 299.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.171, allocations: 0 / 299.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.1715, allocations: 117.6 kB / 299.8 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.1739, allocations: 466.2 kB / 300.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.1739, allocations: 22.02 kB / 300.3 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.1784, allocations: 2.971 MB / 303.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1784, allocations: 1.938 kB / 303.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.1813, allocations: 1.383 MB / 304.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.1816, allocations: 130.3 kB / 304.8 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.1817, allocations: 16.09 kB / 304.8 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.1823, allocations: 52.53 kB / 304.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1824, allocations: 56.69 kB / 304.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.1825, allocations: 20.44 kB / 304.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.1829, allocations: 363.3 kB / 305.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 0 / 305.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007257/0.1836, allocations: 189.8 kB / 305.5 MB, free: 20.04 MB / 266.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.0002635/0.1839, allocations: 154.5 kB / 305.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.1852, allocations: 0.7127 MB / 306.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1852, allocations: 128 / 306.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007438/0.1859, allocations: 0.5013 MB / 306.8 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1865, allocations: 83.3 kB / 306.9 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.1886, allocations: 1.388 MB / 308.3 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.1888, allocations: 303.1 kB / 308.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002708/0.1891, allocations: 63.62 kB / 308.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.1893, allocations: 52.47 kB / 308.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1893, allocations: 0 / 308.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01297/0.2022, allocations: 9.533 MB / 318.3 MB, free: 8.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.777442323975265]