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.00252/0.00252, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002943/0.002943, allocations: 165.6 kB / 24.27 MB, free: 156 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.726/1.726, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.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 1.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.83e-05, allocations: 2.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00607/0.006099, allocations: 3.432 MB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.009545, allocations: 1.617 MB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.009905, allocations: 8 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.01396, allocations: 2.674 MB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007659/0.01472, allocations: 234.3 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.01556, allocations: 315.2 kB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.01822, allocations: 1.844 MB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.01847, allocations: 96.38 kB / 282.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.01928, allocations: 433 kB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005506/0.01983, allocations: 299.3 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.01997, allocations: 44 kB / 283.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.02023, allocations: 91.91 kB / 283.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008258/0.02105, allocations: 0.861 MB / 284.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.02179, allocations: 482 kB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.02478, allocations: 2.512 MB / 287.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.02479, allocations: 8 kB / 287.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02479, allocations: 0 / 287.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.523e-05/0.02486, allocations: 4 kB / 287.2 MB, free: 2.906 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.1209/0.1457, allocations: 3.233 MB / 290.4 MB, free: 26.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1458, allocations: 14.3 kB / 290.5 MB, free: 26.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.1463, allocations: 333.9 kB / 290.8 MB, free: 26.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.1485, allocations: 1.302 MB / 292.1 MB, free: 26.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.1486, allocations: 110.6 kB / 292.2 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.1488, allocations: 57.28 kB / 292.3 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.1494, allocations: 448.2 kB / 292.7 MB, free: 25.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1494, allocations: 5.141 kB / 292.7 MB, free: 25.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1495, allocations: 16.81 kB / 292.7 MB, free: 25.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1495, allocations: 8.156 kB / 292.7 MB, free: 25.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.1501, allocations: 301 kB / 293 MB, free: 25.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.1546, allocations: 3.144 MB / 296.2 MB, free: 24.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.1551, allocations: 305 kB / 296.5 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1554, allocations: 149 kB / 296.6 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.1554, allocations: 7.359 kB / 296.6 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.1554, allocations: 42.38 kB / 296.7 MB, free: 23.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.1554, allocations: 0 / 296.7 MB, free: 23.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004304/0.1597, allocations: 2.33 MB / 299 MB, free: 22.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1598, allocations: 87.36 kB / 299.1 MB, free: 22.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/0.1648, allocations: 4.005 MB / 303.1 MB, free: 21.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1648, allocations: 39.42 kB / 303.1 MB, free: 21.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.166, allocations: 1.602 MB / 304.7 MB, free: 19.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1661, allocations: 179.4 kB / 304.9 MB, free: 19.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1663, allocations: 111.7 kB / 305 MB, free: 19.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.1663, allocations: 0.5026 MB / 305.5 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1666, allocations: 118.7 kB / 305.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1669, allocations: 239.5 kB / 305.8 MB, free: 18.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.1674, allocations: 394.6 kB / 306.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1674, allocations: 2.25 kB / 306.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009998/0.1684, allocations: 0.6982 MB / 306.9 MB, free: 17.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1684, allocations: 4 kB / 306.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1684, allocations: 4 kB / 306.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.1684, allocations: 4.844 kB / 306.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.1689, allocations: 122.2 kB / 307.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1689, allocations: 4.891 kB / 307.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.1693, allocations: 12.89 kB / 307.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.1693, allocations: 24.61 kB / 307.1 MB, free: 17.57 MB / 266.7 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.000279/0.1696, allocations: 209.5 kB / 307.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.1698, allocations: 306 kB / 307.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.1709, allocations: 0.6791 MB / 308.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1709, allocations: 4 kB / 308.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1709, allocations: 0 / 308.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1709, allocations: 5.969 kB / 308.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1728, allocations: 1.885 MB / 310.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1729, allocations: 4 kB / 310.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.1732, allocations: 87.89 kB / 310.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.1736, allocations: 97.83 kB / 310.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1736, allocations: 15.98 kB / 310.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003912/0.174, allocations: 0.8915 MB / 311.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.174, allocations: 4 kB / 311.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.1752, allocations: 1.158 MB / 312.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/0.1761, allocations: 405.9 kB / 312.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.1762, allocations: 8 kB / 312.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.1767, allocations: 23.33 kB / 312.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.1768, allocations: 32.44 kB / 312.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1768, allocations: 8 kB / 312.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002453/0.1793, allocations: 2.217 MB / 315.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 315.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006089/0.1799, allocations: 204 kB / 315.3 MB, free: 9.457 MB / 266.7 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.00288/0.1827, allocations: 455.2 kB / 315.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.1834, allocations: 366.6 kB / 316.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1834, allocations: 0 / 316.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.1837, allocations: 224.4 kB / 316.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.1847, allocations: 184.2 kB / 316.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.1888, allocations: 4.022 MB / 320.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/0.1897, allocations: 1.144 MB / 321.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.1901, allocations: 171.8 kB / 321.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.1904, allocations: 88.48 kB / 321.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1904, allocations: 0 / 321.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of Templates: time 0.03247/0.2228, allocations: 15.17 MB / 337.1 MB, free: 3.914 MB / 282.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/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: 5.2405294720083475]