Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 196.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009503/0.0009503, allocations: 108.2 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.3847, allocations: 87.73 MB / 497.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.385, allocations: 92.56 kB / 497.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2281/0.6131, allocations: 40.7 MB / 0.5253 GB, free: 88.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6131, allocations: 0 / 0.5253 GB, free: 88.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.6132, allocations: 36 kB / 0.5253 GB, free: 88.07 MB / 378.7 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.002625/0.6159, allocations: 2.592 MB / 0.5279 GB, free: 85.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6159, allocations: 8.031 kB / 0.5279 GB, free: 85.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.6163, allocations: 305.3 kB / 0.5282 GB, free: 85.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.6186, allocations: 2.05 MB / 0.5302 GB, free: 83.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.6187, allocations: 63.19 kB / 0.5302 GB, free: 83.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6188, allocations: 44.75 kB / 0.5303 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.6194, allocations: 399.1 kB / 0.5306 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6194, allocations: 4 kB / 0.5306 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.6195, allocations: 16 kB / 0.5307 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6195, allocations: 8 kB / 0.5307 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.6201, allocations: 323.7 kB / 0.531 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.6233, allocations: 3.119 MB / 0.534 GB, free: 79.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.6238, allocations: 313.7 kB / 0.5343 GB, free: 78.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.6241, allocations: 168 kB / 0.5345 GB, free: 78.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.6241, allocations: 6.031 kB / 0.5345 GB, free: 78.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.6241, allocations: 44.84 kB / 0.5345 GB, free: 78.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.502e-06/0.6241, allocations: 4 kB / 0.5345 GB, free: 78.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004186/0.6283, allocations: 2.589 MB / 0.5371 GB, free: 75.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.6284, allocations: 81.55 kB / 0.5371 GB, free: 75.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007185/0.6356, allocations: 5.299 MB / 0.5423 GB, free: 70.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.6356, allocations: 37.7 kB / 0.5423 GB, free: 70.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.6364, allocations: 1.207 MB / 0.5435 GB, free: 69.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.6364, allocations: 166 kB / 0.5437 GB, free: 68.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.6365, allocations: 12 kB / 0.5437 GB, free: 68.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.6365, allocations: 326 kB / 0.544 GB, free: 68.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.6368, allocations: 137.1 kB / 0.5441 GB, free: 68.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.6371, allocations: 216.8 kB / 0.5443 GB, free: 68.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.6377, allocations: 371.5 kB / 0.5447 GB, free: 67.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6377, allocations: 4 kB / 0.5447 GB, free: 67.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008795/0.6386, allocations: 0.6839 MB / 0.5454 GB, free: 67.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6386, allocations: 11.94 kB / 0.5454 GB, free: 67.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6386, allocations: 3.938 kB / 0.5454 GB, free: 67.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6386, allocations: 4.219 kB / 0.5454 GB, free: 67.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.6391, allocations: 123.8 kB / 0.5455 GB, free: 67.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6391, allocations: 4 kB / 0.5455 GB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.6395, allocations: 27.98 kB / 0.5455 GB, free: 67.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6395, allocations: 16 kB / 0.5456 GB, free: 67.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007941/0.6403, allocations: 0.923 MB / 0.5465 GB, free: 66.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.6406, allocations: 288.4 kB / 0.5467 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.6418, allocations: 0.7982 MB / 0.5475 GB, free: 64.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6418, allocations: 7.938 kB / 0.5475 GB, free: 64.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6418, allocations: 0 / 0.5475 GB, free: 64.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6418, allocations: 0 / 0.5475 GB, free: 64.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6432, allocations: 1.714 MB / 0.5492 GB, free: 63.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6432, allocations: 0 / 0.5492 GB, free: 63.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.6436, allocations: 95.89 kB / 0.5493 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.6439, allocations: 104.6 kB / 0.5494 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.6439, allocations: 11.94 kB / 0.5494 GB, free: 63.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000409/0.6444, allocations: 0.6365 MB / 0.55 GB, free: 62.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6444, allocations: 4 kB / 0.55 GB, free: 62.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.6457, allocations: 1.099 MB / 0.5511 GB, free: 61.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/0.6466, allocations: 0.681 MB / 0.5518 GB, free: 60.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.6468, allocations: 12 kB / 0.5518 GB, free: 60.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.6472, allocations: 31.98 kB / 0.5518 GB, free: 60.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.6473, allocations: 32.39 kB / 0.5518 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.6473, allocations: 12 kB / 0.5518 GB, free: 60.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00366/0.651, allocations: 3.861 MB / 0.5556 GB, free: 56.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.651, allocations: 0 / 0.5556 GB, free: 56.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007488/0.6518, allocations: 328 kB / 0.5559 GB, free: 56.27 MB / 378.7 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 (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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008753/0.6526, allocations: 442.8 kB / 0.5563 GB, free: 55.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.6533, allocations: 381 kB / 0.5567 GB, free: 55.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6533, allocations: 4 kB / 0.5567 GB, free: 55.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.6537, allocations: 208.9 kB / 0.5569 GB, free: 55.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6549, allocations: 209.9 kB / 0.5571 GB, free: 55.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/0.6613, allocations: 6.269 MB / 0.5632 GB, free: 48.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.6624, allocations: 1.822 MB / 0.565 GB, free: 47.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.663, allocations: 391.8 kB / 0.5654 GB, free: 46.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.6633, allocations: 131.4 kB / 0.5655 GB, free: 46.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6633, allocations: 0 / 0.5655 GB, free: 46.52 MB / 378.7 MB Notification: Performance of Templates: time 0.03154/0.6949, allocations: 20.15 MB / 0.5852 GB, free: 26.37 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches