Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 193 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 226.6 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008652/0.0008653, allocations: 95.25 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.000352, allocations: 7.984 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003265/0.3182, allocations: 2.422 MB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3203, allocations: 1.18 MB / 411.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3206, allocations: 8.781 kB / 411.7 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3208, allocations: 43.62 kB / 411.7 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.3214, allocations: 187.5 kB / 411.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.3217, allocations: 94.33 kB / 412 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.3222, allocations: 411 kB / 412.4 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3224, allocations: 73.12 kB / 412.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.3227, allocations: 163.5 kB / 412.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.323, allocations: 199.3 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.323, allocations: 24 kB / 412.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.3234, allocations: 139.9 kB / 413 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.3235, allocations: 79.7 kB / 413 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3236, allocations: 176.9 kB / 413.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.324, allocations: 379.8 kB / 413.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3241, allocations: 4 kB / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3241, allocations: 0 / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3241, allocations: 4 kB / 413.6 MB, free: 22.15 MB / 298.7 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.001737/0.3258, allocations: 0.6471 MB / 414.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3259, allocations: 8.031 kB / 414.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.3262, allocations: 48.56 kB / 414.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.3267, allocations: 329.2 kB / 414.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.3268, allocations: 46.83 kB / 414.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.327, allocations: 40.48 kB / 414.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.3277, allocations: 332.4 kB / 415 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3278, allocations: 0 / 415 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3278, allocations: 8 kB / 415 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3278, allocations: 8 kB / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.3287, allocations: 318 kB / 415.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.3308, allocations: 1.167 MB / 416.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.3315, allocations: 300 kB / 416.8 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.332, allocations: 165.7 kB / 417 MB, free: 18.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.332, allocations: 7.984 kB / 417 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3321, allocations: 38.56 kB / 417 MB, free: 18.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.3321, allocations: 0 / 417 MB, free: 18.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.01197/0.3441, allocations: 2.539 MB / 419.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3441, allocations: 81.11 kB / 419.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3446, allocations: 281 kB / 419.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.3446, allocations: 41.64 kB / 420 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3448, allocations: 160.5 kB / 420.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3449, allocations: 153.8 kB / 420.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.345, allocations: 8 kB / 420.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.3451, allocations: 342.8 kB / 420.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.3456, allocations: 168.8 kB / 420.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.3462, allocations: 234.7 kB / 421 MB, free: 14.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3472, allocations: 423.7 kB / 421.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3473, allocations: 0 / 421.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001368/0.3486, allocations: 0.5042 MB / 421.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3487, allocations: 4 kB / 421.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3487, allocations: 0 / 421.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3487, allocations: 4 kB / 421.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.3496, allocations: 123.8 kB / 422 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3496, allocations: 11.97 kB / 422.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.3501, allocations: 35.98 kB / 422.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.3502, allocations: 15.98 kB / 422.1 MB, free: 13.24 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.3504, allocations: 153.7 kB / 422.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3506, allocations: 31.62 kB / 422.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.3531, allocations: 0.6799 MB / 423 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3531, allocations: 4 kB / 423 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3531, allocations: 8 kB / 423 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.3531, allocations: 3.984 kB / 423 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.3574, allocations: 1.326 MB / 424.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3574, allocations: 0 / 424.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.358, allocations: 95.88 kB / 424.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.3604, allocations: 288.5 kB / 424.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3604, allocations: 11.98 kB / 424.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.3653, allocations: 2.272 MB / 427 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3653, allocations: 8 kB / 427 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.3684, allocations: 1.053 MB / 428 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.3687, allocations: 148.7 kB / 428.2 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.3688, allocations: 8 kB / 428.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.3694, allocations: 35.97 kB / 428.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3697, allocations: 32.39 kB / 428.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.3697, allocations: 15.98 kB / 428.3 MB, free: 6.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.3701, allocations: 216.5 kB / 428.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3701, allocations: 0 / 428.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00101/0.3711, allocations: 116 kB / 428.6 MB, free: 6.496 MB / 298.7 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 (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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000432/0.3715, allocations: 143.1 kB / 428.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.373, allocations: 450 kB / 429.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.373, allocations: 0 / 429.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.374, allocations: 393.4 kB / 429.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.3749, allocations: 40.92 kB / 429.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3776, allocations: 1.236 MB / 430.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3779, allocations: 0.7894 MB / 431.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.3781, allocations: 47.41 kB / 431.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.3781, allocations: 0 / 431.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Templates: time 0.01279/0.3909, allocations: 5.666 MB / 437.3 MB, free: 13.69 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches