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.00152/0.00152, allocations: 102 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 213.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.241, allocations: 50.55 MB / 409.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003973/0.245, allocations: 2.84 MB / 412.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2472, allocations: 1.285 MB / 414.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2474, allocations: 4 kB / 414.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.2478, allocations: 67.36 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.2485, allocations: 226.7 kB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.2488, allocations: 139.7 kB / 414.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.2493, allocations: 459 kB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2495, allocations: 77.98 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2498, allocations: 195.4 kB / 415.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.2501, allocations: 223.2 kB / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2501, allocations: 44 kB / 415.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.2505, allocations: 155.9 kB / 415.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.2505, allocations: 103.6 kB / 415.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2507, allocations: 187.1 kB / 415.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.2512, allocations: 0.5022 MB / 416.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2513, allocations: 0 / 416.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2513, allocations: 0 / 416.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2513, allocations: 7.984 kB / 416.4 MB, free: 11.25 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.001517/0.2528, allocations: 0.7055 MB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2528, allocations: 15.97 kB / 417.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.253, allocations: 44.55 kB / 417.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.2535, allocations: 333.3 kB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.2536, allocations: 50.77 kB / 417.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.2537, allocations: 44.48 kB / 417.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.2543, allocations: 312.5 kB / 417.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2544, allocations: 8 kB / 417.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.2544, allocations: 11.98 kB / 417.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.2544, allocations: 11.94 kB / 417.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.2551, allocations: 306 kB / 418.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.2567, allocations: 1.152 MB / 419.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.2573, allocations: 293 kB / 419.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.2576, allocations: 157.7 kB / 419.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2576, allocations: 7.984 kB / 419.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2576, allocations: 34.56 kB / 419.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.2577, allocations: 4 kB / 419.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009144/0.2668, allocations: 2.43 MB / 422.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2669, allocations: 81.11 kB / 422.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.2672, allocations: 296.9 kB / 422.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.2673, allocations: 29.7 kB / 422.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2674, allocations: 168.4 kB / 422.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2675, allocations: 149.8 kB / 423 MB, free: 4.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2676, allocations: 78.11 kB / 423.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2678, allocations: 342.8 kB / 423.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.2682, allocations: 160.8 kB / 423.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2686, allocations: 226.7 kB / 423.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.2694, allocations: 407.7 kB / 424.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2694, allocations: 4 kB / 424.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001018/0.2705, allocations: 488.4 kB / 424.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2705, allocations: 10.19 kB / 424.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2705, allocations: 0 / 424.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2705, allocations: 4 kB / 424.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.2711, allocations: 119.8 kB / 424.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2711, allocations: 4 kB / 424.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.2716, allocations: 36 kB / 424.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.2716, allocations: 16 kB / 424.9 MB, free: 2.406 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.0001736/0.2718, allocations: 153.7 kB / 425 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.2719, allocations: 31.62 kB / 425 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.2738, allocations: 0.6525 MB / 425.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2738, allocations: 8 kB / 425.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2738, allocations: 7.938 kB / 425.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2738, allocations: 0 / 425.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.277, allocations: 1.275 MB / 427 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.277, allocations: 8 kB / 427 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.2774, allocations: 87.88 kB / 427.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.2791, allocations: 268.6 kB / 427.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.2791, allocations: 15.98 kB / 427.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003987/0.2831, allocations: 2.435 MB / 429.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2831, allocations: 3.938 kB / 429.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.2854, allocations: 1.015 MB / 430.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.2856, allocations: 144.7 kB / 430.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.2857, allocations: 12 kB / 431 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.2862, allocations: 31.97 kB / 431 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.2863, allocations: 32.39 kB / 431 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.2864, allocations: 15.98 kB / 431 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.2866, allocations: 216.5 kB / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.2866, allocations: 0 / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005667/0.2872, allocations: 119.9 kB / 431.4 MB, free: 11.63 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.0002634/0.2874, allocations: 131.3 kB / 431.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009782/0.2884, allocations: 441.9 kB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2885, allocations: 0 / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.2891, allocations: 385.3 kB / 432.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.2897, allocations: 47.89 kB / 432.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.2914, allocations: 0.992 MB / 433.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2917, allocations: 0.7852 MB / 434.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.2919, allocations: 43.41 kB / 434.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2919, allocations: 4 kB / 434.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of Templates: time 0.008464/0.3004, allocations: 5.768 MB / 439.9 MB, free: 2.977 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