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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 182.1 kB / 18.04 MB, free: 3.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 89.53 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.3077, allocations: 90.15 MB / 467.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.3081, allocations: 87.95 kB / 467.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04487/0.353, allocations: 15.54 MB / 482.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.353, allocations: 0 / 482.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-05/0.3531, allocations: 12 kB / 482.8 MB, free: 6.656 MB / 362.7 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.002303/0.3554, allocations: 0.9553 MB / 483.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3554, allocations: 12.03 kB / 483.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.3557, allocations: 80 kB / 483.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.3565, allocations: 0.5106 MB / 484.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.3566, allocations: 75.52 kB / 484.4 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.3568, allocations: 68.73 kB / 484.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3579, allocations: 0.6021 MB / 485.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.358, allocations: 4 kB / 485.1 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.358, allocations: 28 kB / 485.1 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.358, allocations: 12 kB / 485.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3592, allocations: 0.5282 MB / 485.7 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.3628, allocations: 2.331 MB / 488 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3639, allocations: 489.8 kB / 488.5 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.3644, allocations: 274 kB / 488.8 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3645, allocations: 8 kB / 488.8 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3645, allocations: 38.56 kB / 488.8 MB, free: 412 kB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.465e-06/0.3645, allocations: 0 / 488.8 MB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.01259/0.3771, allocations: 3.697 MB / 492.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3772, allocations: 89.61 kB / 492.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.3779, allocations: 0.537 MB / 493.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.378, allocations: 37.7 kB / 493.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.3782, allocations: 304.4 kB / 493.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.3784, allocations: 208.9 kB / 493.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3785, allocations: 12 kB / 493.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3787, allocations: 366.8 kB / 494 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.3793, allocations: 253.2 kB / 494.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.3799, allocations: 351.6 kB / 494.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3811, allocations: 0.605 MB / 495.2 MB, free: 9.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3811, allocations: 4 kB / 495.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001536/0.3827, allocations: 0.7491 MB / 496 MB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3827, allocations: 11.94 kB / 496 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3827, allocations: 4 kB / 496 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.3829, allocations: 36.95 kB / 496 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/0.3837, allocations: 167.8 kB / 496.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009904/0.3847, allocations: 1.329 MB / 497.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.3853, allocations: 51.97 kB / 497.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.3854, allocations: 20 kB / 497.6 MB, free: 7.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (75): * Single equations (assignments): 74 * 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.0003401/0.3858, allocations: 209.6 kB / 497.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3859, allocations: 59.25 kB / 497.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.3878, allocations: 0.8531 MB / 498.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3878, allocations: 8 kB / 498.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3878, allocations: 3.984 kB / 498.7 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3878, allocations: 0 / 498.7 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.3918, allocations: 1.941 MB / 0.4889 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3919, allocations: 0 / 0.4889 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.3924, allocations: 115.9 kB / 0.489 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.3948, allocations: 0.4951 MB / 0.4895 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.3949, allocations: 23.98 kB / 0.4895 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.3999, allocations: 2.936 MB / 0.4924 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3999, allocations: 8 kB / 0.4924 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1634/0.5633, allocations: 1.397 MB / 0.4938 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.5637, allocations: 207.5 kB / 0.494 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.5638, allocations: 16.94 kB / 0.494 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.5644, allocations: 47.95 kB / 0.494 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.5646, allocations: 50.02 kB / 0.4941 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.5647, allocations: 16.22 kB / 0.4941 GB, free: 106.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005763/0.5652, allocations: 388.1 kB / 0.4945 GB, free: 106.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5653, allocations: 0 / 0.4945 GB, free: 106.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007514/0.566, allocations: 194.5 kB / 0.4947 GB, free: 106.3 MB / 378.7 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.0002817/0.5663, allocations: 164.2 kB / 0.4948 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.5678, allocations: 0.7448 MB / 0.4955 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5678, allocations: 1.281 kB / 0.4955 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008737/0.5687, allocations: 0.5281 MB / 0.4961 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.5695, allocations: 96.36 kB / 0.4962 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.5723, allocations: 1.825 MB / 0.4979 GB, free: 105.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.5726, allocations: 0.9003 MB / 0.4988 GB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003879/0.573, allocations: 70.67 kB / 0.4989 GB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.5732, allocations: 48.55 kB / 0.4989 GB, free: 104.5 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5732, allocations: 0 / 0.4989 GB, free: 104.5 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.5876, allocations: 9.562 MB / 0.5083 GB, free: 103.8 MB / 378.7 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/jenkins1/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