Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 94.89 kB / 17.31 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 178.2 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002111/0.0002111, allocations: 8 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07241/0.07264, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002581/0.07525, allocations: 2.495 MB / 355 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.07706, allocations: 1.235 MB / 356.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.07723, allocations: 4 kB / 356.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.07745, allocations: 51.61 kB / 356.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.0779, allocations: 195 kB / 356.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.07811, allocations: 95.89 kB / 356.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.07847, allocations: 446.7 kB / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.07861, allocations: 69.38 kB / 357.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.07887, allocations: 167.4 kB / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.07912, allocations: 203.2 kB / 357.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.07917, allocations: 20 kB / 357.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.07941, allocations: 143.9 kB / 357.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.07948, allocations: 67.73 kB / 357.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.07963, allocations: 192.8 kB / 357.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.07997, allocations: 374.9 kB / 358.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.07998, allocations: 0 / 358.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.07999, allocations: 0 / 358.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.08, allocations: 4 kB / 358.2 MB, free: 13.94 MB / 302.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.001334/0.08134, allocations: 0.6432 MB / 358.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.08139, allocations: 16.03 kB / 358.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.08148, allocations: 36.47 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.08187, allocations: 329.3 kB / 359.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.08193, allocations: 50.83 kB / 359.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.08208, allocations: 40.48 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.08266, allocations: 328.5 kB / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.08268, allocations: 11.83 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.08272, allocations: 12 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.08273, allocations: 4 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.08336, allocations: 314 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.08495, allocations: 1.171 MB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.08552, allocations: 303.8 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.08584, allocations: 169.6 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.08587, allocations: 11.94 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.0859, allocations: 38.5 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.462e-06/0.08591, allocations: 0 / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.008675/0.09459, allocations: 2.544 MB / 364.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.09464, allocations: 81.11 kB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.09492, allocations: 289 kB / 364.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.09497, allocations: 29.7 kB / 364.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.09506, allocations: 176.3 kB / 364.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.09517, allocations: 141.9 kB / 364.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.09524, allocations: 41.7 kB / 364.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.09534, allocations: 342.8 kB / 365.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.09573, allocations: 172.8 kB / 365.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.09613, allocations: 234.6 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.09693, allocations: 427.6 kB / 366.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.09694, allocations: 4 kB / 366.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009401/0.09789, allocations: 0.5043 MB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.09792, allocations: 4 kB / 366.6 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.09793, allocations: 4 kB / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.09795, allocations: 4 kB / 366.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.09849, allocations: 119.9 kB / 366.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.09851, allocations: 7.984 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.09888, allocations: 39.92 kB / 366.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.09891, allocations: 15.98 kB / 366.8 MB, free: 4.965 MB / 302.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.000141/0.09906, allocations: 157.6 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.09915, allocations: 35.62 kB / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.1009, allocations: 0.6838 MB / 367.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1009, allocations: 4 kB / 367.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1009, allocations: 4 kB / 367.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1009, allocations: 3.984 kB / 367.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.1038, allocations: 1.318 MB / 369 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1038, allocations: 0 / 369 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1043, allocations: 103.9 kB / 369.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.1059, allocations: 280.6 kB / 369.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.1059, allocations: 15.98 kB / 369.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1348/0.2408, allocations: 2.279 MB / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2408, allocations: 1.594 kB / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.2431, allocations: 1.058 MB / 372.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2433, allocations: 150.6 kB / 372.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.2433, allocations: 11.27 kB / 372.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.2438, allocations: 36.42 kB / 372.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2439, allocations: 35.27 kB / 373 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.2439, allocations: 14.61 kB / 373 MB, free: 23.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2441, allocations: 212.3 kB / 373.2 MB, free: 23.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2441, allocations: 0 / 373.2 MB, free: 23.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004996/0.2446, allocations: 114 kB / 373.3 MB, free: 23.56 MB / 302.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.0001997/0.2448, allocations: 144.4 kB / 373.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.2457, allocations: 449.6 kB / 373.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2457, allocations: 3.531 kB / 373.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006449/0.2464, allocations: 392.4 kB / 374.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.2468, allocations: 39.5 kB / 374.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2484, allocations: 1.251 MB / 375.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2486, allocations: 0.7866 MB / 376.3 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.2487, allocations: 43.39 kB / 376.4 MB, free: 22.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2487, allocations: 0 / 376.4 MB, free: 22.03 MB / 302.1 MB Notification: Performance of Templates: time 0.0083/0.257, allocations: 5.66 MB / 382 MB, free: 21.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches