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.001525/0.001525, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.00177/0.00177, allocations: 165.5 kB / 24.99 MB, free: 8.742 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.9451/0.9451, 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.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.192e-06/1.192e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.636e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003436/0.003453, allocations: 3.449 MB / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.005483, allocations: 1.636 MB / 278.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.005657, allocations: 7.938 kB / 278.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.007849, allocations: 2.674 MB / 280.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.008265, allocations: 230.3 kB / 281 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.008762, allocations: 327.2 kB / 281.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.01016, allocations: 1.84 MB / 283.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.01033, allocations: 96.31 kB / 283.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.01075, allocations: 425.1 kB / 283.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.01102, allocations: 299.3 kB / 284 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.01108, allocations: 44 kB / 284 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.01121, allocations: 91.91 kB / 284.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.01165, allocations: 0.8649 MB / 285 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.01198, allocations: 474.1 kB / 285.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.01306, allocations: 1.514 MB / 287 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01306, allocations: 0 / 287 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01306, allocations: 0 / 287 MB, free: 3.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.01308, allocations: 0 / 287 MB, free: 3.871 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.00242/0.0155, allocations: 3.056 MB / 290 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.01553, allocations: 15.98 kB / 290 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.01585, allocations: 330.9 kB / 290.4 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09997/0.1158, allocations: 1.3 MB / 291.7 MB, free: 27.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.1159, allocations: 115.5 kB / 291.8 MB, free: 27.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.116, allocations: 48.86 kB / 291.8 MB, free: 27.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.1165, allocations: 384.1 kB / 292.2 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1165, allocations: 1.484 kB / 292.2 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.1165, allocations: 14.25 kB / 292.2 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1165, allocations: 13.88 kB / 292.2 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1169, allocations: 199.2 kB / 292.4 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.1198, allocations: 2.703 MB / 295.1 MB, free: 25.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1201, allocations: 259.6 kB / 295.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1202, allocations: 107.7 kB / 295.5 MB, free: 25.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1203, allocations: 8.109 kB / 295.5 MB, free: 25.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1203, allocations: 44.02 kB / 295.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.1203, allocations: 1.188 kB / 295.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002765/0.1231, allocations: 2.109 MB / 297.7 MB, free: 24.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1231, allocations: 83.11 kB / 297.7 MB, free: 24.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.1268, allocations: 3.517 MB / 301.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1268, allocations: 35.08 kB / 301.3 MB, free: 23.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008255/0.1277, allocations: 1.44 MB / 302.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.1277, allocations: 172.4 kB / 302.9 MB, free: 22.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.1278, allocations: 98.56 kB / 303 MB, free: 22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.1279, allocations: 0.5001 MB / 303.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.128, allocations: 70.09 kB / 303.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1282, allocations: 185.2 kB / 303.7 MB, free: 21.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1285, allocations: 275.6 kB / 304 MB, free: 21.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1285, allocations: 8.391 kB / 304 MB, free: 21.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006382/0.1291, allocations: 0.5919 MB / 304.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1291, allocations: 6.031 kB / 304.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1291, allocations: 3.406 kB / 304.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1292, allocations: 5.031 kB / 304.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1295, allocations: 121.7 kB / 304.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1295, allocations: 5.312 kB / 304.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1297, allocations: 12.81 kB / 304.8 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1297, allocations: 22.7 kB / 304.8 MB, free: 20.89 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.000191/0.1299, allocations: 190.2 kB / 305 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.1303, allocations: 297.5 kB / 305.3 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.1314, allocations: 0.5739 MB / 305.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1314, allocations: 4.844 kB / 305.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1314, allocations: 2.062 kB / 305.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1314, allocations: 3 kB / 305.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1328, allocations: 1.524 MB / 307.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1328, allocations: 3.938 kB / 307.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.1331, allocations: 91.89 kB / 307.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.1333, allocations: 83.02 kB / 307.5 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1334, allocations: 17.41 kB / 307.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002937/0.1336, allocations: 0.8419 MB / 308.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1336, allocations: 6.438 kB / 308.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.1344, allocations: 0.9863 MB / 309.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.1347, allocations: 413.9 kB / 309.8 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.1348, allocations: 14.19 kB / 309.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.1351, allocations: 16 kB / 309.8 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1352, allocations: 24.44 kB / 309.9 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1352, allocations: 19.98 kB / 309.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.1366, allocations: 2.045 MB / 311.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1366, allocations: 3.844 kB / 311.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004184/0.1371, allocations: 206.5 kB / 312.1 MB, free: 14.41 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.0008399/0.1379, allocations: 404 kB / 312.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1382, allocations: 266.7 kB / 312.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1382, allocations: 0 / 312.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1384, allocations: 164.5 kB / 312.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.1391, allocations: 198.3 kB / 313.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.1422, allocations: 3.981 MB / 317.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1425, allocations: 0.5512 MB / 317.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.1427, allocations: 171.8 kB / 317.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.1429, allocations: 96.48 kB / 317.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1429, allocations: 0 / 317.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of Templates: time 0.02025/0.1631, allocations: 15.36 MB / 333.3 MB, free: 9.492 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","",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.023421030025929]