Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 101 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 178.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006076, allocations: 16.77 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003208/0.1362, allocations: 2.249 MB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1385, allocations: 1.186 MB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1387, allocations: 4 kB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.139, allocations: 51.67 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.1396, allocations: 211.3 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1399, allocations: 83.83 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.1403, allocations: 284 kB / 332.4 MB, free: 16 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1405, allocations: 73.41 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1408, allocations: 159.4 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.1411, allocations: 195.3 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.1411, allocations: 20 kB / 332.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.1414, allocations: 143.9 kB / 333 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1415, allocations: 71.72 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.1416, allocations: 81.58 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.142, allocations: 371.2 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1421, allocations: 0 / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1421, allocations: 3.938 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1421, allocations: 0 / 333.5 MB, free: 14.92 MB / 286.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.001609/0.1437, allocations: 0.6586 MB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.1438, allocations: 8.031 kB / 334.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.1439, allocations: 35.62 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1444, allocations: 320.1 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/0.1444, allocations: 46.27 kB / 334.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.1446, allocations: 43.83 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1453, allocations: 324.4 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1453, allocations: 0 / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1454, allocations: 12 kB / 334.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1454, allocations: 11.98 kB / 334.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.1461, allocations: 314 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.148, allocations: 1.16 MB / 336.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.1487, allocations: 316.9 kB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1487, allocations: 4 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1488, allocations: 34.56 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.1488, allocations: 0 / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009302/0.1581, allocations: 2.538 MB / 339.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.1582, allocations: 85.05 kB / 339.4 MB, free: 8.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.1586, allocations: 285 kB / 339.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.1587, allocations: 33.7 kB / 339.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1588, allocations: 168.4 kB / 339.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.159, allocations: 145.8 kB / 340 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.159, allocations: 12 kB / 340 MB, free: 8.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1591, allocations: 342.8 kB / 340.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.1595, allocations: 168.8 kB / 340.5 MB, free: 7.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.16, allocations: 234.7 kB / 340.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.1604, allocations: 193.6 kB / 340.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1604, allocations: 0 / 340.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001064/0.1615, allocations: 0.4971 MB / 341.4 MB, free: 6.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1616, allocations: 4 kB / 341.4 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1616, allocations: 4 kB / 341.4 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1616, allocations: 3.984 kB / 341.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.1622, allocations: 119.9 kB / 341.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1622, allocations: 8.031 kB / 341.5 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1626, allocations: 35.98 kB / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.1627, allocations: 19.92 kB / 341.6 MB, free: 6.434 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.1629, allocations: 149.7 kB / 341.7 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.163, allocations: 39.61 kB / 341.8 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.165, allocations: 0.6914 MB / 342.5 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.165, allocations: 8 kB / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.165, allocations: 0 / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.165, allocations: 0 / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.1684, allocations: 1.318 MB / 343.8 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1684, allocations: 0 / 343.8 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.1689, allocations: 99.88 kB / 343.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.1707, allocations: 288.5 kB / 344.2 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.1707, allocations: 8 kB / 344.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.175, allocations: 2.323 MB / 346.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.175, allocations: 0 / 346.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.1774, allocations: 1.059 MB / 347.6 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.1776, allocations: 144.7 kB / 347.7 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.1777, allocations: 15.95 kB / 347.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.1782, allocations: 31.98 kB / 347.8 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1783, allocations: 40.38 kB / 347.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1784, allocations: 11.98 kB / 347.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.1786, allocations: 212.5 kB / 348 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1786, allocations: 0 / 348 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006831/0.1793, allocations: 112 kB / 348.1 MB, free: 15.64 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003233/0.1797, allocations: 151.2 kB / 348.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.1808, allocations: 446 kB / 348.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.1808, allocations: 0 / 348.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.1815, allocations: 405.2 kB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.182, allocations: 28.42 kB / 349.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1841, allocations: 1.204 MB / 350.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.1848, allocations: 0.801 MB / 351.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.185, allocations: 38.95 kB / 351.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1851, allocations: 47.41 kB / 351.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1851, allocations: 0 / 351.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01137/0.1965, allocations: 5.698 MB / 356.9 MB, free: 6.766 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches