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.001181/0.001182, allocations: 112 kB / 17.28 MB, free: 6.047 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.001022/0.001022, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.306/1.306, allocations: 205.1 MB / 224 MB, free: 12.44 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.001144/0.001144, allocations: 55.91 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08554, allocations: 46.61 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004671/0.09024, allocations: 3.385 MB / 330.2 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.09258, allocations: 1.373 MB / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.09282, allocations: 7.984 kB / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.09497, allocations: 1.813 MB / 333.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.09546, allocations: 143.1 kB / 333.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.09614, allocations: 267.6 kB / 333.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.098, allocations: 1.786 MB / 335.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.09823, allocations: 135.3 kB / 335.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.09857, allocations: 309 kB / 336 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.09894, allocations: 326.8 kB / 336.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.09902, allocations: 44 kB / 336.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.09918, allocations: 79.98 kB / 336.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.09971, allocations: 0.8413 MB / 337.3 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.1003, allocations: 0.9385 MB / 338.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.1022, allocations: 2.573 MB / 340.8 MB, free: 6.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1022, allocations: 0 / 340.8 MB, free: 6.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1022, allocations: 0 / 340.8 MB, free: 6.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.1022, allocations: 0 / 340.8 MB, free: 6.734 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.003522/0.1058, allocations: 2.802 MB / 343.6 MB, free: 3.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1058, allocations: 8.031 kB / 343.6 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1061, allocations: 281.3 kB / 343.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.1082, allocations: 1.816 MB / 345.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.1083, allocations: 67.25 kB / 345.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.1085, allocations: 47.94 kB / 345.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.1092, allocations: 394.9 kB / 346.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1092, allocations: 0 / 346.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.1093, allocations: 16 kB / 346.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1093, allocations: 8 kB / 346.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.11, allocations: 335.7 kB / 346.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.1135, allocations: 2.903 MB / 349.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.1142, allocations: 324.9 kB / 349.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.1145, allocations: 165.6 kB / 349.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1146, allocations: 4 kB / 349.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1146, allocations: 39.09 kB / 349.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.664e-06/0.1146, allocations: 11.94 kB / 350 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004365/0.119, allocations: 2.35 MB / 352.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.119, allocations: 85.55 kB / 352.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005805/0.1249, allocations: 5.435 MB / 357.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.1249, allocations: 33.7 kB / 357.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/0.1259, allocations: 1.207 MB / 359.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1261, allocations: 173.5 kB / 359.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1262, allocations: 86.28 kB / 359.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1263, allocations: 330 kB / 359.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.1266, allocations: 141.1 kB / 359.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.127, allocations: 217.7 kB / 360 MB, free: 3.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.1277, allocations: 384.3 kB / 360.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1277, allocations: 3.938 kB / 360.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001092/0.1288, allocations: 0.688 MB / 361.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1288, allocations: 4 kB / 361.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1288, allocations: 7.938 kB / 361.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1289, allocations: 4 kB / 361.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.1294, allocations: 115.9 kB / 361.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1294, allocations: 7.984 kB / 361.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.1298, allocations: 23.88 kB / 361.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.1298, allocations: 16 kB / 361.2 MB, free: 1.812 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009633/0.1308, allocations: 0.9193 MB / 362.2 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.1311, allocations: 268.4 kB / 362.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.1324, allocations: 0.7786 MB / 363.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1324, allocations: 4 kB / 363.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.1325, allocations: 8 kB / 363.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1325, allocations: 7.922 kB / 363.2 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.134, allocations: 1.469 MB / 364.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.134, allocations: 0 / 364.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.1345, allocations: 95.88 kB / 364.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.1348, allocations: 92.78 kB / 364.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.1349, allocations: 8 kB / 364.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005282/0.1354, allocations: 0.6304 MB / 365.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1354, allocations: 0 / 365.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1369, allocations: 1.065 MB / 366.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.1375, allocations: 485.6 kB / 367 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.1377, allocations: 15.94 kB / 367.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.1382, allocations: 28.11 kB / 367.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.1382, allocations: 28.39 kB / 367.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.1383, allocations: 15.94 kB / 367.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004175/0.1425, allocations: 3.974 MB / 371.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1425, allocations: 0 / 371.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.1431, allocations: 208 kB / 371.3 MB, free: 7.602 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 (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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009399/0.1441, allocations: 413.8 kB / 371.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.145, allocations: 408.8 kB / 372.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.145, allocations: 0 / 372.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.1455, allocations: 214.9 kB / 372.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.1465, allocations: 203.2 kB / 372.5 MB, free: 6.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/0.1534, allocations: 6.029 MB / 378.5 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.14/0.2934, allocations: 1.812 MB / 380.4 MB, free: 52.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007515/0.2942, allocations: 274.5 kB / 380.6 MB, free: 52.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.2945, allocations: 86.72 kB / 380.7 MB, free: 52.12 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2945, allocations: 0.5625 kB / 380.7 MB, free: 52.12 MB / 318.1 MB Notification: Performance of Templates: time 0.03389/0.3284, allocations: 15.21 MB / 395.9 MB, free: 47.1 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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) 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