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.0009317/0.0009317, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009557/0.0009557, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9595/0.9595, allocations: 177 MB / 204.8 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] 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 1.212e-06/1.212e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.975e-05, allocations: 6.25 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003196/0.003216, allocations: 3.461 MB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.004887, allocations: 1.636 MB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.005015, allocations: 7.938 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.006993, allocations: 2.674 MB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.007328, allocations: 238.3 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.007704, allocations: 315.2 kB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.008775, allocations: 1.84 MB / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.00892, allocations: 100.3 kB / 283.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00072/0.00964, allocations: 0.4926 MB / 283.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.009895, allocations: 291.3 kB / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.009956, allocations: 44 kB / 284 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.01009, allocations: 91.91 kB / 284.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.01048, allocations: 0.861 MB / 284.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.01077, allocations: 482 kB / 285.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.01176, allocations: 1.498 MB / 286.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01176, allocations: 0 / 286.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01176, allocations: 0 / 286.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.01177, allocations: 4 kB / 286.9 MB, free: 3.258 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.002378/0.01415, allocations: 3.063 MB / 290 MB, free: 140 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.01419, allocations: 12.03 kB / 290 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0998/0.114, allocations: 330.4 kB / 290.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.1159, allocations: 1.313 MB / 291.6 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.116, allocations: 110.5 kB / 291.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.1161, allocations: 48 kB / 291.8 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.1167, allocations: 380.5 kB / 292.2 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1167, allocations: 5.062 kB / 292.2 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1167, allocations: 19.38 kB / 292.2 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1167, allocations: 9.531 kB / 292.2 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.1171, allocations: 193.7 kB / 292.4 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.12, allocations: 2.712 MB / 295.1 MB, free: 21.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1203, allocations: 249.9 kB / 295.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1205, allocations: 108.9 kB / 295.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1205, allocations: 8.328 kB / 295.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1205, allocations: 43.84 kB / 295.5 MB, free: 21.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 3.396e-06/0.1205, allocations: 2.719 kB / 295.5 MB, free: 21.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002712/0.1232, allocations: 2.113 MB / 297.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1233, allocations: 82.67 kB / 297.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.1267, allocations: 3.515 MB / 301.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1267, allocations: 33.48 kB / 301.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.1275, allocations: 1.441 MB / 302.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.1276, allocations: 173.3 kB / 302.8 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.1276, allocations: 93.83 kB / 302.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.1277, allocations: 0.4936 MB / 303.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1278, allocations: 74.62 kB / 303.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.128, allocations: 182.7 kB / 303.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1282, allocations: 277.1 kB / 304 MB, free: 16.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1282, allocations: 0.8438 kB / 304 MB, free: 16.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006331/0.1289, allocations: 0.6007 MB / 304.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1289, allocations: 7.797 kB / 304.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1289, allocations: 2 kB / 304.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1289, allocations: 7.938 kB / 304.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.1292, allocations: 122.1 kB / 304.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1292, allocations: 5.875 kB / 304.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1294, allocations: 14.33 kB / 304.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.1295, allocations: 20.16 kB / 304.7 MB, free: 16.59 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.0001823/0.1296, allocations: 183.8 kB / 304.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.1298, allocations: 300.6 kB / 305.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.1304, allocations: 0.58 MB / 305.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1304, allocations: 9.062 kB / 305.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1305, allocations: 5.203 kB / 305.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1305, allocations: 6.188 kB / 305.8 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1317, allocations: 1.517 MB / 307.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1317, allocations: 0 / 307.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1319, allocations: 93.36 kB / 307.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.1321, allocations: 79.16 kB / 307.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1321, allocations: 14.25 kB / 307.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002558/0.1324, allocations: 0.8494 MB / 308.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1324, allocations: 0 / 308.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.1331, allocations: 0.9951 MB / 309.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.1334, allocations: 404.8 kB / 309.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1335, allocations: 6.25 kB / 309.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1338, allocations: 26.09 kB / 309.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.1338, allocations: 31.83 kB / 309.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1339, allocations: 19.94 kB / 309.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001434/0.1353, allocations: 2.029 MB / 311.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1353, allocations: 0 / 311.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.1357, allocations: 209.4 kB / 312.1 MB, free: 11.54 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.0007941/0.1365, allocations: 404.3 kB / 312.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1368, allocations: 261.8 kB / 312.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1368, allocations: 0 / 312.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.137, allocations: 168.3 kB / 312.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.1376, allocations: 187.9 kB / 313.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.1407, allocations: 3.973 MB / 317 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.141, allocations: 0.5629 MB / 317.6 MB, free: 6.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000207/0.1412, allocations: 171.8 kB / 317.8 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1413, allocations: 88.48 kB / 317.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1413, allocations: 4 kB / 317.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of Templates: time 0.02102/0.1624, allocations: 15.82 MB / 333.7 MB, free: 6.352 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.006488777231425]