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.001089/0.001089, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.000984/0.0009841, allocations: 198 kB / 18.07 MB, free: 5.434 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.284/1.284, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001206/0.001206, allocations: 55.91 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.09055, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004353/0.09493, allocations: 3.368 MB / 330 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.09682, allocations: 1.384 MB / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.09697, allocations: 11.94 kB / 331.4 MB, free: 100 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.09906, allocations: 1.852 MB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.09936, allocations: 147 kB / 333.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.09989, allocations: 259.6 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1013, allocations: 1.687 MB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1015, allocations: 115.9 kB / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.1018, allocations: 293 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.1021, allocations: 314.8 kB / 336 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.1022, allocations: 24 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1024, allocations: 48 kB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.1029, allocations: 0.8335 MB / 336.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007252/0.1037, allocations: 0.8878 MB / 337.8 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.1055, allocations: 2.53 MB / 340.3 MB, free: 7.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1055, allocations: 8 kB / 340.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1055, allocations: 0 / 340.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1055, allocations: 0 / 340.3 MB, free: 7.09 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.003434/0.1089, allocations: 2.802 MB / 343.1 MB, free: 4.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.109, allocations: 8.031 kB / 343.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.1093, allocations: 289.3 kB / 343.4 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.1114, allocations: 1.812 MB / 345.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.1115, allocations: 63.25 kB / 345.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1116, allocations: 47.88 kB / 345.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.1124, allocations: 398.9 kB / 345.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1124, allocations: 0 / 345.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.1124, allocations: 20 kB / 345.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1125, allocations: 11.98 kB / 345.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.1132, allocations: 327.7 kB / 346.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.117, allocations: 2.899 MB / 349 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.1176, allocations: 317 kB / 349.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.1179, allocations: 169.5 kB / 349.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.118, allocations: 4 kB / 349.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.118, allocations: 47.09 kB / 349.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.865e-06/0.118, allocations: 0 / 349.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004524/0.1225, allocations: 2.366 MB / 351.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1226, allocations: 81.55 kB / 352 MB, free: 11.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/0.1281, allocations: 5.435 MB / 357.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1281, allocations: 37.7 kB / 357.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.1292, allocations: 1.203 MB / 358.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1293, allocations: 169.5 kB / 358.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.1294, allocations: 90.25 kB / 358.9 MB, free: 4.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1295, allocations: 330 kB / 359.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.1299, allocations: 137.1 kB / 359.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.1302, allocations: 217.7 kB / 359.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.1309, allocations: 384.3 kB / 359.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1309, allocations: 0 / 359.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001088/0.132, allocations: 0.68 MB / 360.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1321, allocations: 12.19 kB / 360.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1321, allocations: 4 kB / 360.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1321, allocations: 7.938 kB / 360.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.1326, allocations: 119.9 kB / 360.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1326, allocations: 11.92 kB / 360.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.133, allocations: 15.94 kB / 360.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.1331, allocations: 20 kB / 360.8 MB, free: 2.168 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.0009764/0.134, allocations: 0.9154 MB / 361.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.1344, allocations: 272.4 kB / 362 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.1357, allocations: 0.7747 MB / 362.8 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1357, allocations: 4 kB / 362.8 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1357, allocations: 3.938 kB / 362.8 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1357, allocations: 3.984 kB / 362.8 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1373, allocations: 1.477 MB / 364.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1373, allocations: 4 kB / 364.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.1378, allocations: 99.81 kB / 364.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.1381, allocations: 84.78 kB / 364.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.1382, allocations: 8 kB / 364.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005289/0.1387, allocations: 0.6382 MB / 365.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1387, allocations: 4.031 kB / 365.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.1402, allocations: 1.065 MB / 366.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.1409, allocations: 489.5 kB / 366.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.1411, allocations: 12 kB / 366.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1415, allocations: 19.98 kB / 366.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.1416, allocations: 28.39 kB / 366.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.1416, allocations: 12 kB / 366.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004202/0.1459, allocations: 3.981 MB / 370.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1459, allocations: 0 / 370.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006777/0.1466, allocations: 204 kB / 370.9 MB, free: 7.957 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.0009954/0.1476, allocations: 426.2 kB / 371.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008118/0.1484, allocations: 380.9 kB / 371.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1484, allocations: 0 / 371.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1488, allocations: 218.4 kB / 371.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.1499, allocations: 191.8 kB / 372.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/0.1568, allocations: 6.027 MB / 378.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1332/0.29, allocations: 1.811 MB / 379.9 MB, free: 52.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008012/0.2909, allocations: 269.8 kB / 380.2 MB, free: 52.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.2911, allocations: 89.83 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2911, allocations: 2.406 kB / 380.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03047/0.3216, allocations: 14.7 MB / 395 MB, free: 48.07 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