Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 96.42 kB / 16.94 MB, free: 6.441 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.001954/0.001954, allocations: 183.2 kB / 17.83 MB, free: 6.008 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.602/1.602, 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.0005363/0.0005363, allocations: 15.28 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004191/0.1305, allocations: 2.72 MB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1328, allocations: 1.311 MB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.133, allocations: 7.938 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.1357, allocations: 2.105 MB / 334.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.1361, allocations: 171.5 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.1367, allocations: 235.5 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1384, allocations: 1.463 MB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1387, allocations: 106.7 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.1391, allocations: 291.1 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.1395, allocations: 295.1 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.1396, allocations: 28 kB / 337 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1398, allocations: 39.92 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006526/0.1404, allocations: 0.8298 MB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.1407, allocations: 384.3 kB / 338.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1424, allocations: 2.086 MB / 340.4 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1424, allocations: 7.938 kB / 340.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1425, allocations: 0 / 340.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.1425, allocations: 0 / 340.4 MB, free: 7.992 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003551/0.146, allocations: 2.426 MB / 342.8 MB, free: 5.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1461, allocations: 12.03 kB / 342.8 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.1464, allocations: 280.3 kB / 343.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.1489, allocations: 1.693 MB / 344.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.149, allocations: 58.7 kB / 344.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1492, allocations: 43.98 kB / 344.9 MB, free: 3.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.1499, allocations: 395 kB / 345.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1499, allocations: 0 / 345.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.15, allocations: 16 kB / 345.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.15, allocations: 8 kB / 345.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.1507, allocations: 331.7 kB / 345.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.1548, allocations: 2.911 MB / 348.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.1554, allocations: 325 kB / 348.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.1555, allocations: 4 kB / 348.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1555, allocations: 34.56 kB / 348.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.1556, allocations: 0 / 348.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004685/0.1602, allocations: 2.381 MB / 351.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.1603, allocations: 89.58 kB / 351.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/0.1666, allocations: 5.439 MB / 356.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.1667, allocations: 29.7 kB / 356.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.1677, allocations: 1.207 MB / 358 MB, free: 5.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1678, allocations: 177.4 kB / 358.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.1679, allocations: 8 kB / 358.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.168, allocations: 330 kB / 358.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1683, allocations: 141.1 kB / 358.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.1686, allocations: 221.6 kB / 358.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.169, allocations: 172.8 kB / 359.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.169, allocations: 0 / 359.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001068/0.1701, allocations: 0.6801 MB / 359.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1701, allocations: 8 kB / 359.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1701, allocations: 0 / 359.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1701, allocations: 8 kB / 359.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.1706, allocations: 119.8 kB / 359.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1706, allocations: 4.25 kB / 359.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.171, allocations: 31.84 kB / 359.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.1711, allocations: 16 kB / 359.9 MB, free: 4.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0009604/0.172, allocations: 0.9153 MB / 360.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.1723, allocations: 268.5 kB / 361.1 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.1736, allocations: 0.7747 MB / 361.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1736, allocations: 4 kB / 361.9 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1736, allocations: 4 kB / 361.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1736, allocations: 3.984 kB / 361.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.1752, allocations: 1.473 MB / 363.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1752, allocations: 0 / 363.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.1756, allocations: 95.88 kB / 363.5 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.1759, allocations: 96.69 kB / 363.5 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.176, allocations: 15.98 kB / 363.6 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004955/0.1765, allocations: 0.6267 MB / 364.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1765, allocations: 8.047 kB / 364.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.178, allocations: 1.083 MB / 365.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.1789, allocations: 0.4897 MB / 365.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.179, allocations: 11.95 kB / 365.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.1795, allocations: 27.92 kB / 365.8 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.1795, allocations: 28.39 kB / 365.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.1796, allocations: 15.94 kB / 365.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004283/0.1839, allocations: 3.985 MB / 369.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1839, allocations: 0 / 369.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.1845, allocations: 208 kB / 370 MB, free: 9.773 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009449/0.1855, allocations: 417 kB / 370.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.1862, allocations: 380.9 kB / 370.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1863, allocations: 0 / 370.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1867, allocations: 218.3 kB / 371 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.1875, allocations: 179.9 kB / 371.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007101/0.1946, allocations: 5.919 MB / 377.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.1961, allocations: 1.868 MB / 379 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.1966, allocations: 275.6 kB / 379.3 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.1969, allocations: 91.42 kB / 379.4 MB, free: 400 kB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1969, allocations: 0 / 379.4 MB, free: 400 kB / 318.1 MB Notification: Performance of Templates: time 0.1928/0.3896, allocations: 13.88 MB / 393.2 MB, free: 47.45 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches