Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0009546/0.0009546, allocations: 91.5 kB / 21.2 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.0009409/0.0009409, allocations: 160.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.9435/0.9435, allocations: 177 MB / 204.8 MB, free: 5.59 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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.912e-05, allocations: 4.844 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005766/0.005795, allocations: 4.365 MB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.008723, allocations: 1.613 MB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.009133, allocations: 11.94 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.009549, allocations: 126.8 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.01056, allocations: 381.3 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.01111, allocations: 251.5 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01216, allocations: 1.005 MB / 280.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.01248, allocations: 154.1 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.01334, allocations: 0.573 MB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.01389, allocations: 335.1 kB / 281.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.01404, allocations: 92 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.01447, allocations: 215.9 kB / 282 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.01462, allocations: 195.3 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.01492, allocations: 295.3 kB / 282.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009279/0.01585, allocations: 0.7007 MB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01585, allocations: 7.938 kB / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01585, allocations: 0 / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.01587, allocations: 4 kB / 283.2 MB, free: 7.117 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.001967/0.01783, allocations: 1.134 MB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.01788, allocations: 15.98 kB / 284.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.01818, allocations: 136.5 kB / 284.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.01885, allocations: 434.2 kB / 284.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.01898, allocations: 127 kB / 285 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.01915, allocations: 72.73 kB / 285.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.02006, allocations: 0.574 MB / 285.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.02008, allocations: 3.938 kB / 285.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.02014, allocations: 20 kB / 285.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.02016, allocations: 16 kB / 285.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.0208, allocations: 279.6 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.02363, allocations: 2.046 MB / 288 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.02422, allocations: 301.4 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.02453, allocations: 151.8 kB / 288.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.02456, allocations: 11.94 kB / 288.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.02459, allocations: 42.11 kB / 288.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.02459, allocations: 0 / 288.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1092/0.1338, allocations: 2.472 MB / 291 MB, free: 24.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1339, allocations: 83.39 kB / 291.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.1343, allocations: 497.5 kB / 291.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1343, allocations: 37.86 kB / 291.6 MB, free: 24.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1345, allocations: 368.2 kB / 292 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1346, allocations: 219.6 kB / 292.2 MB, free: 24.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.1347, allocations: 119.5 kB / 292.3 MB, free: 24.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.1348, allocations: 0.5354 MB / 292.8 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.135, allocations: 102.4 kB / 292.9 MB, free: 23.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1352, allocations: 237.7 kB / 293.2 MB, free: 23.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1356, allocations: 376.7 kB / 293.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1356, allocations: 1.125 kB / 293.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006958/0.1363, allocations: 0.5056 MB / 294 MB, free: 23.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1363, allocations: 6.375 kB / 294 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1364, allocations: 2.344 kB / 294 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.1365, allocations: 45.08 kB / 294.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.137, allocations: 165 kB / 294.2 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006008/0.1376, allocations: 1.771 MB / 296 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.1378, allocations: 34.45 kB / 296 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1379, allocations: 23.52 kB / 296.1 MB, free: 21.53 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.0001365/0.138, allocations: 193.1 kB / 296.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1381, allocations: 80.75 kB / 296.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.1389, allocations: 0.5522 MB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1389, allocations: 7 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1389, allocations: 1.875 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1389, allocations: 8.516 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.1406, allocations: 1.275 MB / 298.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1406, allocations: 1.203 kB / 298.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.1409, allocations: 104.1 kB / 298.3 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.1419, allocations: 339.3 kB / 298.6 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.1419, allocations: 14.66 kB / 298.6 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.144, allocations: 2.821 MB / 301.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.144, allocations: 1.344 kB / 301.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.1452, allocations: 0.9727 MB / 302.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.1454, allocations: 131.3 kB / 302.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.1455, allocations: 16.12 kB / 302.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.1457, allocations: 32.84 kB / 302.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1458, allocations: 55.19 kB / 302.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1459, allocations: 18.14 kB / 302.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1461, allocations: 339.6 kB / 303 MB, free: 17.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1461, allocations: 0 / 303 MB, free: 17.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005099/0.1466, allocations: 184.6 kB / 303.2 MB, free: 17.73 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.0002313/0.1469, allocations: 152.9 kB / 303.3 MB, free: 17.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.1475, allocations: 0.5371 MB / 303.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1475, allocations: 0 / 303.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.1479, allocations: 460.3 kB / 304.3 MB, free: 17.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1483, allocations: 88.97 kB / 304.4 MB, free: 17.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1502, allocations: 1.286 MB / 305.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.1503, allocations: 143.7 kB / 305.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.1505, allocations: 71.36 kB / 305.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1506, allocations: 49.45 kB / 305.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1506, allocations: 1.188 kB / 305.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of Templates: time 0.01162/0.1622, allocations: 10.07 MB / 316 MB, free: 9.094 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.8802986750379205]