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.001946/0.001946, allocations: 122 kB / 18.46 MB, free: 4.578 MB / 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.002188/0.002188, allocations: 209.6 kB / 21.42 MB, free: 1.625 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.47/1.47, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.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.001595/0.001595, allocations: 47.92 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 53.35 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004584/0.1102, allocations: 2.857 MB / 430.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1126, allocations: 1.285 MB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.1128, allocations: 8 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1131, allocations: 71.42 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.1137, allocations: 222.8 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1141, allocations: 131.8 kB / 432.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.1146, allocations: 466.8 kB / 432.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1147, allocations: 68.62 kB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.115, allocations: 199.3 kB / 432.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1153, allocations: 219.2 kB / 433 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.1154, allocations: 40 kB / 433 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.1157, allocations: 171.9 kB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.1157, allocations: 87.72 kB / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1159, allocations: 187.1 kB / 433.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.1165, allocations: 0.5098 MB / 434 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1166, allocations: 4 kB / 434 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1166, allocations: 0 / 434 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1166, allocations: 0 / 434 MB, free: 13.75 MB / 366.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.001668/0.1182, allocations: 0.7168 MB / 434.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1183, allocations: 8.031 kB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1185, allocations: 44.69 kB / 434.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.119, allocations: 333.4 kB / 435.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.1191, allocations: 50.83 kB / 435.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.1192, allocations: 52.42 kB / 435.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.1199, allocations: 320.4 kB / 435.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1199, allocations: 0 / 435.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1199, allocations: 12 kB / 435.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1199, allocations: 4 kB / 435.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.1206, allocations: 306 kB / 435.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1225, allocations: 1.16 MB / 437 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.1231, allocations: 281 kB / 437.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.1234, allocations: 163.9 kB / 437.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1235, allocations: 8.5 kB / 437.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1235, allocations: 30.56 kB / 437.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.1235, allocations: 0 / 437.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.009675/0.1332, allocations: 2.415 MB / 439.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1332, allocations: 81.11 kB / 439.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.1336, allocations: 300.8 kB / 440.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.1336, allocations: 37.7 kB / 440.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1338, allocations: 164.7 kB / 440.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1339, allocations: 154.6 kB / 440.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.134, allocations: 86.05 kB / 440.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1342, allocations: 338.8 kB / 441 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.1346, allocations: 168.8 kB / 441.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.135, allocations: 222.7 kB / 441.4 MB, free: 6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.1359, allocations: 407.7 kB / 441.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1359, allocations: 4 kB / 441.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001107/0.137, allocations: 488.4 kB / 442.3 MB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1371, allocations: 4 kB / 442.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1371, allocations: 0 / 442.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1371, allocations: 8.188 kB / 442.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.1377, allocations: 119.8 kB / 442.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1377, allocations: 7.938 kB / 442.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.1381, allocations: 27.98 kB / 442.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1381, allocations: 19.98 kB / 442.4 MB, free: 4.91 MB / 366.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.0001913/0.1383, allocations: 157.7 kB / 442.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.1384, allocations: 27.81 kB / 442.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.1404, allocations: 0.6486 MB / 443.3 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1404, allocations: 4 kB / 443.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1404, allocations: 4 kB / 443.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1404, allocations: 7.922 kB / 443.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.1437, allocations: 1.268 MB / 444.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1437, allocations: 8 kB / 444.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.1441, allocations: 91.88 kB / 444.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.1458, allocations: 276.4 kB / 444.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.1458, allocations: 15.94 kB / 444.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2201/0.3659, allocations: 2.432 MB / 447.4 MB, free: 24.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3659, allocations: 0.875 kB / 447.4 MB, free: 24.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.3685, allocations: 1.006 MB / 448.4 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.3687, allocations: 153.5 kB / 448.5 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.3687, allocations: 13.38 kB / 448.5 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.3692, allocations: 26.09 kB / 448.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3693, allocations: 37.3 kB / 448.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3694, allocations: 11.53 kB / 448.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.3696, allocations: 217.8 kB / 448.8 MB, free: 23.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 448.8 MB, free: 23.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000572/0.3702, allocations: 118.7 kB / 448.9 MB, free: 23.64 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.0002734/0.3704, allocations: 144 kB / 449.1 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.3714, allocations: 410.2 kB / 449.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3714, allocations: 3.375 kB / 449.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007097/0.3721, allocations: 369.3 kB / 449.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3726, allocations: 43.09 kB / 449.9 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.3744, allocations: 0.994 MB / 450.9 MB, free: 23.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3746, allocations: 0.787 MB / 451.7 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3748, allocations: 41.62 kB / 451.7 MB, free: 22.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3748, allocations: 1.438 kB / 451.7 MB, free: 22.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01384/0.3886, allocations: 5.777 MB / 457.5 MB, free: 21.92 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 -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: 7.378100752015598]