Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001957/0.001957, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.00228/0.00228, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.501/1.501, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.49e-05/4.693e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005772/0.005819, allocations: 3.222 MB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.009367, allocations: 1.585 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.009884, allocations: 7.938 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.01417, allocations: 2.67 MB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.01517, allocations: 242.3 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.01625, allocations: 319.2 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003158/0.0194, allocations: 1.84 MB / 282.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.0197, allocations: 96.36 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.02073, allocations: 437 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.02129, allocations: 291.3 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.02143, allocations: 44 kB / 282.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.02171, allocations: 91.92 kB / 283 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000816/0.02252, allocations: 0.8688 MB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007562/0.02328, allocations: 470.1 kB / 284.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.02621, allocations: 2.515 MB / 286.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02621, allocations: 0 / 286.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.591e-06/0.02622, allocations: 3.984 kB / 286.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.726e-05/0.02629, allocations: 4 kB / 286.9 MB, free: 3.082 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.007243/0.03353, allocations: 2.808 MB / 289.7 MB, free: 228 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.03357, allocations: 12.03 kB / 289.7 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1285/0.1621, allocations: 335.4 kB / 290 MB, free: 27.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003217/0.1653, allocations: 1.803 MB / 291.8 MB, free: 26.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1654, allocations: 113.7 kB / 291.9 MB, free: 26.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.1656, allocations: 47.19 kB / 292 MB, free: 26.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.1664, allocations: 442.5 kB / 292.4 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1664, allocations: 2.875 kB / 292.4 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1664, allocations: 20.06 kB / 292.4 MB, free: 26.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1664, allocations: 8.281 kB / 292.4 MB, free: 26.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.1671, allocations: 327.6 kB / 292.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.1714, allocations: 2.566 MB / 295.3 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.172, allocations: 302.5 kB / 295.6 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1723, allocations: 160.3 kB / 295.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1724, allocations: 6.891 kB / 295.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1724, allocations: 38.67 kB / 295.8 MB, free: 24.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.1724, allocations: 1.25 kB / 295.8 MB, free: 24.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.005203/0.1776, allocations: 2.406 MB / 298.2 MB, free: 23.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1776, allocations: 90.02 kB / 298.3 MB, free: 23.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006233/0.1839, allocations: 5.465 MB / 303.8 MB, free: 21.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/0.1839, allocations: 29.7 kB / 303.8 MB, free: 21.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.1847, allocations: 1.172 MB / 305 MB, free: 20.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1848, allocations: 181.1 kB / 305.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1849, allocations: 86.19 kB / 305.2 MB, free: 19.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.185, allocations: 330 kB / 305.6 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.1853, allocations: 132.9 kB / 305.7 MB, free: 19.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1856, allocations: 224.4 kB / 305.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.1862, allocations: 384.9 kB / 306.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1862, allocations: 4 kB / 306.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001227/0.1874, allocations: 0.717 MB / 307 MB, free: 18.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1874, allocations: 8 kB / 307 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1874, allocations: 0 / 307 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1874, allocations: 4 kB / 307 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.1879, allocations: 127.8 kB / 307.2 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1879, allocations: 4 kB / 307.2 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.1885, allocations: 19.77 kB / 307.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.1885, allocations: 20.62 kB / 307.2 MB, free: 17.96 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.0007602/0.1892, allocations: 0.9217 MB / 308.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.1895, allocations: 303.2 kB / 308.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1908, allocations: 0.7961 MB / 309.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1908, allocations: 7.812 kB / 309.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1908, allocations: 4 kB / 309.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1908, allocations: 7.922 kB / 309.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1921, allocations: 1.177 MB / 310.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1921, allocations: 4 kB / 310.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.1925, allocations: 91.88 kB / 310.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.1929, allocations: 91.58 kB / 310.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1929, allocations: 12 kB / 310.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003948/0.1933, allocations: 0.6426 MB / 311.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1933, allocations: 3.984 kB / 311.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.1947, allocations: 1.1 MB / 312.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/0.1954, allocations: 430 kB / 312.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.1955, allocations: 14.47 kB / 312.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.196, allocations: 15.98 kB / 312.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.1961, allocations: 36.38 kB / 312.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1961, allocations: 12 kB / 312.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003612/0.1997, allocations: 3.99 MB / 316.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1997, allocations: 2 kB / 316.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008969/0.2006, allocations: 210.6 kB / 317 MB, free: 8.07 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.001919/0.2026, allocations: 438.5 kB / 317.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.2033, allocations: 358.2 kB / 317.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2033, allocations: 5.312 kB / 317.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.2037, allocations: 205.8 kB / 318 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2048, allocations: 193.5 kB / 318.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.2102, allocations: 5.431 MB / 323.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.2113, allocations: 1.246 MB / 324.9 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.2117, allocations: 279.8 kB / 325.2 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.212, allocations: 84.5 kB / 325.2 MB, free: 48 kB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.212, allocations: 0 / 325.2 MB, free: 48 kB / 266.7 MB Notification: Performance of Templates: time 0.03365/0.2456, allocations: 15.31 MB / 340.6 MB, free: 0.8242 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.805814948049374]