Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001308/0.001308, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 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.001371/0.001371, allocations: 167.8 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 50.98 kB / 325.6 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.1006, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004408/0.105, allocations: 2.675 MB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1072, allocations: 1.207 MB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1074, allocations: 4 kB / 382.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1076, allocations: 71.3 kB / 382.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.1082, allocations: 222.8 kB / 383.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1086, allocations: 143.7 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.1091, allocations: 455.1 kB / 383.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1093, allocations: 56.88 kB / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.1096, allocations: 203.3 kB / 383.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.1099, allocations: 195.2 kB / 384.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.11, allocations: 40 kB / 384.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.1103, allocations: 159.9 kB / 384.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1104, allocations: 91.66 kB / 384.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1107, allocations: 163.3 kB / 384.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.1113, allocations: 0.5136 MB / 385.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1113, allocations: 0 / 385.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1113, allocations: 0 / 385.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1113, allocations: 4 kB / 385.1 MB, free: 9.516 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001665/0.113, allocations: 0.6336 MB / 385.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.113, allocations: 12.03 kB / 385.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.1132, allocations: 48.73 kB / 385.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1137, allocations: 291.2 kB / 386 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.1138, allocations: 98.33 kB / 386.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.114, allocations: 40.48 kB / 386.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.1146, allocations: 347.3 kB / 386.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1147, allocations: 0 / 386.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.1147, allocations: 12 kB / 386.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1147, allocations: 12 kB / 386.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.1154, allocations: 297.7 kB / 386.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1171, allocations: 1.004 MB / 387.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.1178, allocations: 277 kB / 388.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.1181, allocations: 149.6 kB / 388.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1181, allocations: 12.44 kB / 388.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1182, allocations: 34.56 kB / 388.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.1182, allocations: 4 kB / 388.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009636/0.1278, allocations: 2.268 MB / 390.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.1279, allocations: 81.11 kB / 390.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.1282, allocations: 293.8 kB / 390.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1283, allocations: 37.7 kB / 391 MB, free: 3.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1284, allocations: 168.6 kB / 391.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1285, allocations: 150.7 kB / 391.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1287, allocations: 86.11 kB / 391.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1288, allocations: 334.8 kB / 391.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.1293, allocations: 164.9 kB / 391.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.1297, allocations: 235.3 kB / 392.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.1307, allocations: 399.8 kB / 392.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1307, allocations: 4 kB / 392.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001088/0.1317, allocations: 488.8 kB / 393 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1318, allocations: 12 kB / 393 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1318, allocations: 3.984 kB / 393 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1318, allocations: 4 kB / 393 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.1324, allocations: 115.8 kB / 393.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1324, allocations: 4 kB / 393.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1328, allocations: 39.97 kB / 393.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1329, allocations: 12 kB / 393.1 MB, free: 1.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0001899/0.133, allocations: 158.3 kB / 393.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.1331, allocations: 35.77 kB / 393.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.1351, allocations: 0.6501 MB / 394 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1351, allocations: 4 kB / 394 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1351, allocations: 0 / 394 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1351, allocations: 0 / 394 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.1383, allocations: 1.132 MB / 395.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1383, allocations: 0 / 395.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.1388, allocations: 83.89 kB / 395.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.1403, allocations: 272.5 kB / 395.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.1404, allocations: 15.94 kB / 395.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.1445, allocations: 2.29 MB / 397.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1445, allocations: 0 / 397.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.1469, allocations: 1.006 MB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1471, allocations: 71.73 kB / 398.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.1471, allocations: 8 kB / 398.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.1476, allocations: 35.97 kB / 398.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1477, allocations: 36.42 kB / 398.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.1477, allocations: 12 kB / 398.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.148, allocations: 217.1 kB / 399.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.148, allocations: 0 / 399.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.1485, allocations: 119.9 kB / 399.3 MB, free: 10.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.1488, allocations: 155.1 kB / 399.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009979/0.1498, allocations: 406.9 kB / 399.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1498, allocations: 0 / 399.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.1505, allocations: 365.8 kB / 400.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.151, allocations: 43.67 kB / 400.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1529, allocations: 0.9768 MB / 401.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1531, allocations: 183.1 kB / 401.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1532, allocations: 42.89 kB / 401.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1534, allocations: 36.48 kB / 401.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1534, allocations: 0 / 401.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of Templates: time 0.01189/0.1653, allocations: 6.121 MB / 407.6 MB, free: 2.453 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.457594337989576]