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.0008937/0.0008937, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0008999/0.0008999, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.8307/0.8307, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.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 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.168e-06/1.025e-05, allocations: 6.047 kB / 273.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002653/0.002664, allocations: 2.849 MB / 276.3 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004101, allocations: 1.275 MB / 277.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004231, allocations: 4 kB / 277.6 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.004423, allocations: 65.78 kB / 277.6 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.004821, allocations: 242.5 kB / 277.9 MB, free: 4 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.005017, allocations: 123.7 kB / 278 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.005321, allocations: 482.8 kB / 278.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.005426, allocations: 54.86 kB / 278.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.00568, allocations: 279.4 kB / 278.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.005858, allocations: 179.5 kB / 279 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.0059, allocations: 40 kB / 279 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.006072, allocations: 159.8 kB / 279.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.006126, allocations: 95.69 kB / 279.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.006214, allocations: 135.6 kB / 279.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.006733, allocations: 398.6 kB / 279.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006735, allocations: 4 kB / 279.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006735, allocations: 0 / 279.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.006739, allocations: 0 / 279.8 MB, free: 14.09 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007682/0.007507, allocations: 0.601 MB / 280.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.007535, allocations: 12.03 kB / 280.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.007646, allocations: 52.89 kB / 280.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.00787, allocations: 216.9 kB / 280.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.007932, allocations: 106.3 kB / 280.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/0.008021, allocations: 40.66 kB / 280.8 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.00828, allocations: 280.5 kB / 281.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.008292, allocations: 3.938 kB / 281.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.008312, allocations: 12 kB / 281.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.00832, allocations: 4 kB / 281.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.008485, allocations: 121.3 kB / 281.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.009274, allocations: 0.7771 MB / 282 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.009465, allocations: 172.9 kB / 282.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.009537, allocations: 73.67 kB / 282.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.009555, allocations: 4.5 kB / 282.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.009573, allocations: 38.56 kB / 282.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.522e-06/0.009574, allocations: 4 kB / 282.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.003994/0.01357, allocations: 1.914 MB / 284.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.0136, allocations: 89.09 kB / 284.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.01374, allocations: 238.7 kB / 284.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.01376, allocations: 37.7 kB / 284.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.01381, allocations: 153.1 kB / 284.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.01388, allocations: 150.7 kB / 284.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.01396, allocations: 86.09 kB / 284.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.01403, allocations: 346.7 kB / 285.3 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.0141, allocations: 52.97 kB / 285.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.0142, allocations: 115.2 kB / 285.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01439, allocations: 199.5 kB / 285.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01439, allocations: 4 kB / 285.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002476/0.01464, allocations: 232.9 kB / 285.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01465, allocations: 8 kB / 285.9 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01465, allocations: 0 / 285.9 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01466, allocations: 7.938 kB / 285.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.01492, allocations: 115.9 kB / 286 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01492, allocations: 4 kB / 286 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01506, allocations: 28.17 kB / 286 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.01508, allocations: 11.98 kB / 286 MB, free: 7.531 MB / 266.7 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 8.475e-05/0.01516, allocations: 137.7 kB / 286.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.01522, allocations: 35.97 kB / 286.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.01576, allocations: 370.9 kB / 286.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01576, allocations: 4 kB / 286.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01577, allocations: 7.938 kB / 286.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01577, allocations: 3.984 kB / 286.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.01682, allocations: 0.685 MB / 287.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01682, allocations: 0 / 287.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.01702, allocations: 79.89 kB / 287.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/0.01759, allocations: 212.5 kB / 287.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.01761, allocations: 19.92 kB / 287.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.01891, allocations: 1.673 MB / 289.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01892, allocations: 0 / 289.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.01955, allocations: 0.5929 MB / 289.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.01962, allocations: 31.8 kB / 289.9 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.01966, allocations: 8 kB / 289.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.01982, allocations: 23.98 kB / 289.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.01988, allocations: 48.3 kB / 289.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01989, allocations: 8 kB / 290 MB, free: 3.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.01996, allocations: 93.59 kB / 290 MB, free: 3.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01996, allocations: 0 / 290 MB, free: 3.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.02025, allocations: 123.8 kB / 290.2 MB, free: 3.234 MB / 266.7 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.0001545/0.02041, allocations: 132.2 kB / 290.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.02064, allocations: 205.5 kB / 290.5 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.02064, allocations: 8.062 kB / 290.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.02088, allocations: 270.3 kB / 290.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.02111, allocations: 40.47 kB / 290.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.02205, allocations: 0.7345 MB / 291.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.012e-05/0.02211, allocations: 106.6 kB / 291.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.02222, allocations: 42.95 kB / 291.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02237, allocations: 103.3 kB / 291.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02237, allocations: 0 / 291.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of Templates: time 0.007527/0.0299, allocations: 6.611 MB / 298.4 MB, free: 10.97 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.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.517982624936849]