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.00104/0.00104, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001201/0.001201, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 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 0.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.112e-06/1.112e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.043e-05, allocations: 4.984 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003809/0.003829, allocations: 4.349 MB / 277.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.00565, allocations: 1.605 MB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.005845, allocations: 15.94 kB / 279 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.006125, allocations: 122.8 kB / 279.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.006673, allocations: 385.3 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.006944, allocations: 239.6 kB / 279.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.007549, allocations: 1.006 MB / 280.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.007757, allocations: 154.1 kB / 280.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.00821, allocations: 0.569 MB / 281.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.008517, allocations: 339.1 kB / 281.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.0086, allocations: 96 kB / 281.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.008828, allocations: 211.9 kB / 282.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.008937, allocations: 199.3 kB / 282.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.00913, allocations: 295.3 kB / 282.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.009711, allocations: 0.7162 MB / 283.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.009713, allocations: 0 / 283.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.009714, allocations: 0 / 283.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.009721, allocations: 3.984 kB / 283.3 MB, free: 7.531 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.001425/0.01115, allocations: 1.142 MB / 284.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.01118, allocations: 12.02 kB / 284.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.0114, allocations: 128.5 kB / 284.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.01188, allocations: 439.6 kB / 285 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.01198, allocations: 123 kB / 285.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.01211, allocations: 72.67 kB / 285.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.01274, allocations: 0.5779 MB / 285.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01276, allocations: 3.938 kB / 285.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.0128, allocations: 24 kB / 285.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01281, allocations: 12 kB / 285.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.01325, allocations: 275.6 kB / 286.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01524, allocations: 2.062 MB / 288.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.01567, allocations: 306.2 kB / 288.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.01589, allocations: 151.7 kB / 288.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.01591, allocations: 8 kB / 288.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.01594, allocations: 50.05 kB / 288.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/0.01594, allocations: 0 / 288.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1137/0.1296, allocations: 2.469 MB / 291.1 MB, free: 28.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1296, allocations: 88.61 kB / 291.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.1304, allocations: 499.5 kB / 291.7 MB, free: 28.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.1305, allocations: 34.59 kB / 291.7 MB, free: 28.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.1307, allocations: 371.9 kB / 292.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1309, allocations: 211.4 kB / 292.3 MB, free: 27.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.1311, allocations: 119.3 kB / 292.4 MB, free: 27.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1312, allocations: 0.5412 MB / 293 MB, free: 27.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.1316, allocations: 100.8 kB / 293.1 MB, free: 27.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.132, allocations: 239.3 kB / 293.3 MB, free: 27.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1327, allocations: 375.7 kB / 293.7 MB, free: 27.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1327, allocations: 0.9375 kB / 293.7 MB, free: 27.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001203/0.1339, allocations: 0.5043 MB / 294.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.134, allocations: 7.609 kB / 294.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.134, allocations: 2.844 kB / 294.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.1343, allocations: 52.42 kB / 294.2 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.135, allocations: 156.7 kB / 294.4 MB, free: 26.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009157/0.1359, allocations: 1.771 MB / 296.2 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.1364, allocations: 31.11 kB / 296.2 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.1364, allocations: 28.02 kB / 296.2 MB, free: 25.05 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.0002133/0.1366, allocations: 190.9 kB / 296.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.1368, allocations: 83.56 kB / 296.5 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.1381, allocations: 0.5521 MB / 297 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1381, allocations: 6.938 kB / 297 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1381, allocations: 0 / 297 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1382, allocations: 9.062 kB / 297.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.1411, allocations: 1.285 MB / 298.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1411, allocations: 0.7812 kB / 298.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.1416, allocations: 110.5 kB / 298.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.1432, allocations: 329.8 kB / 298.8 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.1433, allocations: 14.17 kB / 298.8 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.1469, allocations: 2.82 MB / 301.6 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1469, allocations: 3.938 kB / 301.6 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.1489, allocations: 0.9718 MB / 302.6 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.1492, allocations: 135.8 kB / 302.7 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/0.1493, allocations: 16.61 kB / 302.7 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.1498, allocations: 35.8 kB / 302.8 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.15, allocations: 52.33 kB / 302.8 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.15, allocations: 17.48 kB / 302.8 MB, free: 20.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000437/0.1505, allocations: 344.8 kB / 303.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1505, allocations: 0 / 303.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008344/0.1513, allocations: 186.1 kB / 303.4 MB, free: 20.8 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.0003205/0.1516, allocations: 154.6 kB / 303.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.1527, allocations: 0.5311 MB / 304 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1527, allocations: 0 / 304 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.1534, allocations: 458.5 kB / 304.5 MB, free: 20.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.1541, allocations: 85.83 kB / 304.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.157, allocations: 1.277 MB / 305.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.1571, allocations: 144.8 kB / 306 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.1575, allocations: 73.59 kB / 306.1 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.1577, allocations: 53.95 kB / 306.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1577, allocations: 0 / 306.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01122/0.1689, allocations: 9.718 MB / 315.8 MB, free: 11.62 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] 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","",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.0537204870488495]