Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001893/0.001893, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002374/0.002374, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.415/2.415, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4424, allocations: 50.53 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.007315/0.4498, allocations: 2.836 MB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.4537, allocations: 1.289 MB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.4541, allocations: 4 kB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.4546, allocations: 63.42 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009454/0.4555, allocations: 234.6 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.4561, allocations: 135.8 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008077/0.4569, allocations: 459 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.4572, allocations: 84.5 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.4578, allocations: 191.4 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.4583, allocations: 227.1 kB / 415.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4584, allocations: 40 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.459, allocations: 163.9 kB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4591, allocations: 99.64 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.4594, allocations: 191 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.4604, allocations: 0.4997 MB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4604, allocations: 0 / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4604, allocations: 0 / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4605, allocations: 0 / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00281/0.4633, allocations: 0.7094 MB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.4634, allocations: 12.03 kB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.4637, allocations: 44.55 kB / 417.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/0.4646, allocations: 333.2 kB / 417.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.4647, allocations: 54.81 kB / 417.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.465, allocations: 40.48 kB / 417.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.4659, allocations: 328.4 kB / 417.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4659, allocations: 0 / 417.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.466, allocations: 8 kB / 417.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.466, allocations: 11.94 kB / 417.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4671, allocations: 306 kB / 418.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.4698, allocations: 1.152 MB / 419.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4709, allocations: 291.3 kB / 419.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.4715, allocations: 161.7 kB / 419.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.4716, allocations: 8 kB / 419.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.4716, allocations: 34.55 kB / 419.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 4.218e-06/0.4716, allocations: 0 / 419.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.01676/0.4884, allocations: 2.426 MB / 422.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.4885, allocations: 81.11 kB / 422.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.4892, allocations: 296.9 kB / 422.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.4893, allocations: 37.7 kB / 422.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4895, allocations: 168.4 kB / 422.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4897, allocations: 149.8 kB / 423 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.49, allocations: 78.11 kB / 423.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4902, allocations: 338.8 kB / 423.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.491, allocations: 160.8 kB / 423.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.4918, allocations: 226.7 kB / 423.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.4936, allocations: 403.8 kB / 424.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4936, allocations: 4 kB / 424.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002054/0.4957, allocations: 488.2 kB / 424.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.4957, allocations: 11.98 kB / 424.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4958, allocations: 0 / 424.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.4958, allocations: 8 kB / 424.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.497, allocations: 128 kB / 424.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.497, allocations: 3.938 kB / 424.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.4978, allocations: 27.98 kB / 424.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.4979, allocations: 19.98 kB / 424.9 MB, free: 2.238 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0003121/0.4982, allocations: 153.7 kB / 425 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.4985, allocations: 35.62 kB / 425 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.5016, allocations: 0.6487 MB / 425.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5016, allocations: 8 kB / 425.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5016, allocations: 0 / 425.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5017, allocations: 0 / 425.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005736/0.5074, allocations: 1.275 MB / 427 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.5075, allocations: 4 kB / 427 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.5085, allocations: 87.88 kB / 427.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/0.5114, allocations: 272.5 kB / 427.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/0.5115, allocations: 15.98 kB / 427.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007199/0.5187, allocations: 2.435 MB / 429.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5188, allocations: 0 / 429.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.5229, allocations: 1.015 MB / 430.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.5233, allocations: 148.7 kB / 430.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/0.5234, allocations: 8 kB / 431 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.5243, allocations: 36.16 kB / 431 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.5245, allocations: 32.39 kB / 431 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.5246, allocations: 19.92 kB / 431 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003751/0.525, allocations: 212.5 kB / 431.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.525, allocations: 0 / 431.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001023/0.526, allocations: 116 kB / 431.4 MB, free: 11.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003858/0.5264, allocations: 147.1 kB / 431.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.5282, allocations: 434.2 kB / 431.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5283, allocations: 4.062 kB / 431.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.5296, allocations: 384.8 kB / 432.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.5305, allocations: 40.42 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.5334, allocations: 0.9922 MB / 433.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.5339, allocations: 0.7891 MB / 434.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.5343, allocations: 35.42 kB / 434.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5343, allocations: 4 kB / 434.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Templates: time 0.01568/0.55, allocations: 5.819 MB / 440 MB, free: 2.766 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches