Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 75.19 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 149 kB / 24.48 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.83 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08269, allocations: 52.17 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004121/0.08681, allocations: 2.674 MB / 374.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.08866, allocations: 1.129 MB / 375.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.08878, allocations: 4 kB / 375.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.08904, allocations: 79.3 kB / 375.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.08955, allocations: 214.8 kB / 375.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.0898, allocations: 127.8 kB / 375.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.0903, allocations: 467 kB / 376.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.09043, allocations: 48.91 kB / 376.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.09068, allocations: 191.4 kB / 376.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.09099, allocations: 199.1 kB / 376.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.09106, allocations: 40 kB / 376.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.09135, allocations: 151.9 kB / 376.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.09145, allocations: 95.72 kB / 377 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.09162, allocations: 155.3 kB / 377.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.09223, allocations: 0.5136 MB / 377.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09223, allocations: 0 / 377.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09223, allocations: 0 / 377.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.09224, allocations: 4 kB / 377.6 MB, free: 1.281 MB / 334.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.001631/0.09387, allocations: 0.6414 MB / 378.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.0939, allocations: 8.922 kB / 378.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.09399, allocations: 40.7 kB / 378.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.09445, allocations: 279.2 kB / 378.6 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.09455, allocations: 98.33 kB / 378.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.09471, allocations: 40.48 kB / 378.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.09538, allocations: 351.3 kB / 379.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.09539, allocations: 3.938 kB / 379.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.09542, allocations: 8 kB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.09543, allocations: 8 kB / 379.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.09615, allocations: 293.8 kB / 379.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.09789, allocations: 0.996 MB / 380.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.09853, allocations: 281 kB / 380.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.09888, allocations: 160 kB / 380.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.0989, allocations: 11.94 kB / 380.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.09894, allocations: 38.5 kB / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.09894, allocations: 0 / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009632/0.1086, allocations: 2.263 MB / 383.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.1086, allocations: 81.11 kB / 383.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.109, allocations: 297.6 kB / 383.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.109, allocations: 29.7 kB / 383.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1092, allocations: 168.7 kB / 383.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1093, allocations: 158.6 kB / 383.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1094, allocations: 78.17 kB / 383.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1096, allocations: 338.8 kB / 384.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.11, allocations: 164.9 kB / 384.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.1105, allocations: 235.2 kB / 384.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.1114, allocations: 407.6 kB / 385 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1114, allocations: 0 / 385 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001074/0.1124, allocations: 492.7 kB / 385.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1125, allocations: 4 kB / 385.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1125, allocations: 3.984 kB / 385.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1125, allocations: 4 kB / 385.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.1131, allocations: 123.8 kB / 385.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1131, allocations: 4 kB / 385.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.1135, allocations: 28.02 kB / 385.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.1135, allocations: 19.98 kB / 385.7 MB, free: 8.887 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.0001726/0.1137, allocations: 157.7 kB / 385.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.1138, allocations: 35.8 kB / 385.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.1157, allocations: 0.6501 MB / 386.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1158, allocations: 4 kB / 386.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1158, allocations: 4 kB / 386.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1158, allocations: 0 / 386.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.119, allocations: 1.125 MB / 387.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.119, allocations: 3.984 kB / 387.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.1194, allocations: 87.89 kB / 387.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.121, allocations: 276.5 kB / 388 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.1211, allocations: 8 kB / 388 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/0.1252, allocations: 2.274 MB / 390.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1252, allocations: 3.984 kB / 390.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.1276, allocations: 1.006 MB / 391.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1277, allocations: 67.73 kB / 391.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.1278, allocations: 12 kB / 391.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.1282, allocations: 43.91 kB / 391.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1284, allocations: 36.38 kB / 391.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.1284, allocations: 15.98 kB / 391.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.1286, allocations: 213.2 kB / 391.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1286, allocations: 0 / 391.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.1291, allocations: 115.9 kB / 391.8 MB, free: 2.586 MB / 350.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.0002333/0.1294, allocations: 147.1 kB / 392 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.1303, allocations: 407.4 kB / 392.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1303, allocations: 4.062 kB / 392.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.131, allocations: 369.2 kB / 392.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1315, allocations: 40.42 kB / 392.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1332, allocations: 0.9732 MB / 393.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.1334, allocations: 183.1 kB / 393.9 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.1336, allocations: 46.89 kB / 394 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1337, allocations: 44.41 kB / 394 MB, free: 332 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1337, allocations: 0 / 394 MB, free: 332 kB / 350.1 MB Notification: Performance of Templates: time 0.01149/0.1452, allocations: 6.1 MB / 400.1 MB, free: 10.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.464839888969436]