Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000843/0.0008431, allocations: 94.77 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009516/0.0009516, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.8 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 8 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003577/0.1402, allocations: 1.757 MB / 361 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1417, allocations: 0.639 MB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1419, allocations: 0 / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.913e-05/0.142, allocations: 15.91 kB / 361.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1422, allocations: 39.67 kB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.1428, allocations: 87.84 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.1431, allocations: 179.3 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1433, allocations: 53.44 kB / 362 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.1436, allocations: 79.7 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1438, allocations: 67.62 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.1438, allocations: 8 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1439, allocations: 16 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.144, allocations: 27.89 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1441, allocations: 97.3 kB / 362.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1444, allocations: 167.6 kB / 362.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1445, allocations: 0 / 362.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.1445, allocations: 4 kB / 362.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.1445, allocations: 0 / 362.5 MB, free: 10.03 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001108/0.1456, allocations: 457.6 kB / 362.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.1457, allocations: 12.03 kB / 362.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.1462, allocations: 52.72 kB / 363 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1466, allocations: 221.2 kB / 363.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1467, allocations: 8.375 kB / 363.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.1467, allocations: 8.375 kB / 363.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1472, allocations: 167.8 kB / 363.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1472, allocations: 0 / 363.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1472, allocations: 4 kB / 363.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1472, allocations: 4 kB / 363.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1475, allocations: 99.94 kB / 363.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.149, allocations: 0.5109 MB / 364 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.1493, allocations: 110.5 kB / 364.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.1496, allocations: 68.83 kB / 364.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1496, allocations: 0 / 364.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1498, allocations: 34.5 kB / 364.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1498, allocations: 0 / 364.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005308/0.1504, allocations: 149.7 kB / 364.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.1505, allocations: 118.7 kB / 364.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1507, allocations: 160.7 kB / 364.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1508, allocations: 25.7 kB / 364.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1508, allocations: 119.9 kB / 364.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1509, allocations: 35.55 kB / 364.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1509, allocations: 13.72 kB / 364.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1511, allocations: 326.8 kB / 365.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1512, allocations: 39.98 kB / 365.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1514, allocations: 80.25 kB / 365.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1517, allocations: 106.5 kB / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1517, allocations: 0 / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003685/0.1521, allocations: 153.5 kB / 365.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1521, allocations: 7.938 kB / 365.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1521, allocations: 3.938 kB / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1521, allocations: 8 kB / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.1527, allocations: 83.91 kB / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.1546, allocations: 1.398 MB / 367 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1548, allocations: 24.11 kB / 367 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1548, allocations: 4 kB / 367 MB, free: 5.062 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.155, allocations: 133.7 kB / 367.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.155, allocations: 7.906 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.1557, allocations: 167.1 kB / 367.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1557, allocations: 48 / 367.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1557, allocations: 3.984 kB / 367.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1557, allocations: 0 / 367.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.1566, allocations: 483.9 kB / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1566, allocations: 0 / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1567, allocations: 28.02 kB / 367.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.157, allocations: 40.77 kB / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.157, allocations: 3.984 kB / 367.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1583, allocations: 1.289 MB / 369.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.1583, allocations: 7.984 kB / 369.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.159, allocations: 301 kB / 369.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.159, allocations: 93.03 kB / 369.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1591, allocations: 0 / 369.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1593, allocations: 15.98 kB / 369.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1593, allocations: 7.938 kB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1593, allocations: 12.05 kB / 369.6 MB, free: 2.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1594, allocations: 127.4 kB / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1594, allocations: 0 / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1598, allocations: 47.78 kB / 369.8 MB, free: 2.066 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.1599, allocations: 95.25 kB / 369.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007474/0.1607, allocations: 147.8 kB / 370 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1607, allocations: 0 / 370 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.1611, allocations: 162.8 kB / 370.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1613, allocations: 19.61 kB / 370.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.163, allocations: 0.6229 MB / 370.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1634, allocations: 0.7121 MB / 371.5 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.238e-05/0.1635, allocations: 12.56 kB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.1635, allocations: 19.36 kB / 371.6 MB, free: 220 kB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1635, allocations: 0 / 371.6 MB, free: 220 kB / 302.1 MB Notification: Performance of Templates: time 0.2103/0.3738, allocations: 1.492 MB / 373.1 MB, free: 18.61 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches