Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 96.8 kB / 16.93 MB, free: 5.984 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.00127/0.00127, allocations: 180.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.642/1.642, 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.0004536/0.0004537, allocations: 11.28 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004476/0.1094, allocations: 3.473 MB / 331.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1126, allocations: 1.553 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.1132, allocations: 7.938 kB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1136, allocations: 95.34 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.115, allocations: 342.9 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.1155, allocations: 151.7 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008459/0.1164, allocations: 0.6019 MB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.1167, allocations: 178 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.1171, allocations: 306.9 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.1175, allocations: 362.5 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.1176, allocations: 44 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.1179, allocations: 159.9 kB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1181, allocations: 135.5 kB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1182, allocations: 153.4 kB / 335.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.1189, allocations: 0.8883 MB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.119, allocations: 0 / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.119, allocations: 0 / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.119, allocations: 4 kB / 336.7 MB, free: 11.64 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002136/0.1211, allocations: 0.9779 MB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1212, allocations: 8.031 kB / 337.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.1213, allocations: 83.06 kB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.1221, allocations: 0.4941 MB / 338.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.1222, allocations: 75.02 kB / 338.4 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.1224, allocations: 63.98 kB / 338.4 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1234, allocations: 0.6019 MB / 339 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1235, allocations: 0 / 339 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.1235, allocations: 28 kB / 339.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1236, allocations: 12 kB / 339.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1246, allocations: 0.536 MB / 339.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1278, allocations: 2.33 MB / 341.9 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.1287, allocations: 486 kB / 342.4 MB, free: 5.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1288, allocations: 8 kB / 342.4 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1288, allocations: 38.56 kB / 342.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.923e-06/0.1288, allocations: 0 / 342.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01226/0.1411, allocations: 3.688 MB / 346.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1412, allocations: 89.61 kB / 346.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.1419, allocations: 0.537 MB / 346.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.1419, allocations: 37.7 kB / 346.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.1421, allocations: 308.3 kB / 347.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1423, allocations: 205 kB / 347.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1423, allocations: 15.94 kB / 347.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1425, allocations: 366.8 kB / 347.7 MB, free: 288 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.143, allocations: 261.2 kB / 347.9 MB, free: 28 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.1436, allocations: 356.5 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.1442, allocations: 290.1 kB / 348.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1442, allocations: 0 / 348.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001414/0.1456, allocations: 0.7567 MB / 349.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1457, allocations: 11.95 kB / 349.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1457, allocations: 4.25 kB / 349.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.1458, allocations: 36.83 kB / 349.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.1466, allocations: 163.8 kB / 349.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009523/0.1476, allocations: 1.347 MB / 350.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.1481, allocations: 47.95 kB / 350.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.1482, allocations: 23.98 kB / 351 MB, free: 12.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.1484, allocations: 201.7 kB / 351.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1486, allocations: 67.28 kB / 351.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.1502, allocations: 0.8569 MB / 352.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1503, allocations: 8 kB / 352.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1503, allocations: 0 / 352.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1503, allocations: 3.984 kB / 352.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.1536, allocations: 1.889 MB / 354 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1537, allocations: 4 kB / 354 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.1542, allocations: 111.9 kB / 354.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.1565, allocations: 0.508 MB / 354.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.1566, allocations: 15.98 kB / 354.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.1612, allocations: 3.026 MB / 357.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1612, allocations: 0 / 357.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.1639, allocations: 1.419 MB / 359.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.1641, allocations: 208.3 kB / 359.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.1642, allocations: 12 kB / 359.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.1648, allocations: 47.97 kB / 359.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.165, allocations: 56.44 kB / 359.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.165, allocations: 16 kB / 359.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.1654, allocations: 390.8 kB / 359.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1654, allocations: 0 / 359.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00067/0.1661, allocations: 192.1 kB / 360 MB, free: 3.562 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00024/0.1663, allocations: 139.2 kB / 360.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.1677, allocations: 0.756 MB / 360.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1677, allocations: 4 kB / 360.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.1686, allocations: 0.5295 MB / 361.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1691, allocations: 81.95 kB / 361.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1717, allocations: 1.822 MB / 363.3 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1721, allocations: 0.9124 MB / 364.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.1724, allocations: 72.8 kB / 364.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.1726, allocations: 47.42 kB / 364.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1726, allocations: 0 / 364.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01446/0.1871, allocations: 9.312 MB / 373.6 MB, free: 5.797 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches