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.0009461/0.000946, allocations: 95.67 kB / 16.95 MB, free: 6.113 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.0009701/0.0009701, allocations: 178.5 kB / 17.84 MB, free: 5.73 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.57/1.57, allocations: 205.4 MB / 224 MB, free: 13.07 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.0004372/0.0004372, allocations: 8 kB / 280.8 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 47.58 MB / 328.4 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00392/0.105, allocations: 3.722 MB / 332.1 MB, free: 324 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1076, allocations: 1.529 MB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.1079, allocations: 11.94 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1082, allocations: 99.17 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006959/0.1089, allocations: 290.2 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1093, allocations: 143.8 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.1102, allocations: 0.8731 MB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.1105, allocations: 182 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.1109, allocations: 306.8 kB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.1114, allocations: 358.5 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.1114, allocations: 44 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1118, allocations: 159.8 kB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1119, allocations: 131.5 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1121, allocations: 157.3 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.113, allocations: 0.8921 MB / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.113, allocations: 0 / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.113, allocations: 0 / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.113, allocations: 4 kB / 337.2 MB, free: 11.14 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.002082/0.1151, allocations: 0.9818 MB / 338.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1152, allocations: 12.03 kB / 338.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1153, allocations: 83.06 kB / 338.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.116, allocations: 0.4902 MB / 338.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.1161, allocations: 71.02 kB / 338.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.1163, allocations: 63.98 kB / 338.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1174, allocations: 0.6058 MB / 339.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1174, allocations: 4 kB / 339.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.1175, allocations: 24 kB / 339.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1175, allocations: 12 kB / 339.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1186, allocations: 0.5399 MB / 340.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.1219, allocations: 2.33 MB / 342.4 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.1229, allocations: 493.8 kB / 342.9 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.1234, allocations: 274.1 kB / 343.2 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.1235, allocations: 4 kB / 343.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1235, allocations: 38.56 kB / 343.2 MB, free: 4.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 2.465e-06/0.1235, allocations: 0 / 343.2 MB, free: 4.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.0124/0.1359, allocations: 3.684 MB / 346.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.136, allocations: 97.67 kB / 347 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.1368, allocations: 0.5292 MB / 347.5 MB, free: 456 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/0.1369, allocations: 37.7 kB / 347.6 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1371, allocations: 308.3 kB / 347.9 MB, free: 96 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.1373, allocations: 212.9 kB / 348.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1374, allocations: 16 kB / 348.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1376, allocations: 362.8 kB / 348.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.1382, allocations: 257.2 kB / 348.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.1388, allocations: 360.3 kB / 349.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.1395, allocations: 290.1 kB / 349.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1395, allocations: 4 kB / 349.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001583/0.1411, allocations: 0.7569 MB / 350.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1411, allocations: 7.953 kB / 350.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1411, allocations: 7.984 kB / 350.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.1413, allocations: 36.84 kB / 350.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.1421, allocations: 167.8 kB / 350.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1433, allocations: 1.329 MB / 351.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.1439, allocations: 51.95 kB / 351.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.144, allocations: 23.98 kB / 351.7 MB, free: 12.05 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.0003685/0.1444, allocations: 197.7 kB / 351.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.1446, allocations: 59.3 kB / 352 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.1465, allocations: 0.8647 MB / 352.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.1465, allocations: 8 kB / 352.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1465, allocations: 0 / 352.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1465, allocations: 3.984 kB / 352.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.1504, allocations: 1.882 MB / 354.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1504, allocations: 0 / 354.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.1509, allocations: 111.9 kB / 354.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.1532, allocations: 0.4964 MB / 355.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.1533, allocations: 19.98 kB / 355.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.1581, allocations: 2.949 MB / 358.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1581, allocations: 4.062 kB / 358.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.1611, allocations: 1.409 MB / 359.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.1615, allocations: 204.4 kB / 359.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1616, allocations: 19.94 kB / 359.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.1622, allocations: 51.97 kB / 360 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.1624, allocations: 52.44 kB / 360 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1624, allocations: 19.98 kB / 360.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.163, allocations: 382.9 kB / 360.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.163, allocations: 0 / 360.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008429/0.1638, allocations: 188 kB / 360.6 MB, free: 2.906 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.0003583/0.1642, allocations: 143.1 kB / 360.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.1658, allocations: 0.7525 MB / 361.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1658, allocations: 4.062 kB / 361.5 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009681/0.1667, allocations: 0.529 MB / 362 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.1675, allocations: 81.94 kB / 362.1 MB, free: 1.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1706, allocations: 1.827 MB / 363.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.1711, allocations: 0.9007 MB / 364.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.1715, allocations: 72.81 kB / 364.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.1717, allocations: 55.41 kB / 365 MB, free: 14.45 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1717, allocations: 0 / 365 MB, free: 14.45 MB / 318.1 MB Notification: Performance of Templates: time 0.01716/0.1888, allocations: 9.31 MB / 374.3 MB, free: 5.137 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (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) 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