Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.00106, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 86.36 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.88e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4402, allocations: 76.45 MB / 439.5 MB, free: 3.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4405, allocations: 69.45 kB / 439.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009179/0.4497, allocations: 3.121 MB / 442.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4497, allocations: 4 kB / 442.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4497, allocations: 4 kB / 442.7 MB, free: 0.5273 MB / 314.7 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.0006241/0.4504, allocations: 425.9 kB / 443.1 MB, free: 76 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4504, allocations: 16.78 kB / 443.2 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4505, allocations: 15.81 kB / 443.2 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.4507, allocations: 187.6 kB / 443.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4507, allocations: 7.953 kB / 443.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.4508, allocations: 11.91 kB / 443.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001597/0.4509, allocations: 64.92 kB / 443.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4512, allocations: 121.1 kB / 443.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4512, allocations: 3.938 kB / 443.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4512, allocations: 7.938 kB / 443.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4512, allocations: 4 kB / 443.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.4521, allocations: 488 kB / 444 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4523, allocations: 68.06 kB / 444.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4524, allocations: 53.28 kB / 444.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4524, allocations: 0 / 444.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4525, allocations: 30.56 kB / 444.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.4525, allocations: 4 kB / 444.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002164/0.4527, allocations: 87.44 kB / 444.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.4528, allocations: 106.8 kB / 444.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4529, allocations: 142.5 kB / 444.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4529, allocations: 25.7 kB / 444.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.453, allocations: 118.5 kB / 444.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.453, allocations: 27.58 kB / 444.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.453, allocations: 3.938 kB / 444.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4532, allocations: 324.1 kB / 445 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.4532, allocations: 26.31 kB / 445 MB, free: 14.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.4533, allocations: 63.27 kB / 445.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.193e-05/0.4534, allocations: 34.3 kB / 445.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4534, allocations: 0 / 445.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001952/0.4536, allocations: 117.8 kB / 445.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4536, allocations: 4 kB / 445.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4536, allocations: 4 kB / 445.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4537, allocations: 0 / 445.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.4543, allocations: 83.88 kB / 445.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.4555, allocations: 1.327 MB / 446.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4557, allocations: 28.05 kB / 446.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4557, allocations: 4 kB / 446.7 MB, free: 12.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.4558, allocations: 105 kB / 446.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.4559, allocations: 7.906 kB / 446.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.4562, allocations: 131.4 kB / 446.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4562, allocations: 0 / 446.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4562, allocations: 8.062 kB / 446.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4562, allocations: 0 / 446.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.4568, allocations: 409.8 kB / 447.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4568, allocations: 0 / 447.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.4569, allocations: 28.02 kB / 447.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.4572, allocations: 32.14 kB / 447.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4572, allocations: 4 kB / 447.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009168/0.4582, allocations: 1.238 MB / 448.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4582, allocations: 0 / 448.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.4586, allocations: 275.9 kB / 448.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.4586, allocations: 88.98 kB / 449 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.4587, allocations: 4 kB / 449 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.4589, allocations: 15.98 kB / 449 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4589, allocations: 15.98 kB / 449 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4589, allocations: 2.625 kB / 449 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.459, allocations: 112.5 kB / 449.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.459, allocations: 0 / 449.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.4593, allocations: 35.91 kB / 449.2 MB, free: 9.938 MB / 330.7 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 () * 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 (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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.4595, allocations: 103.2 kB / 449.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.4601, allocations: 113.4 kB / 449.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4601, allocations: 0 / 449.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.4603, allocations: 139.4 kB / 449.5 MB, free: 9.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4605, allocations: 11.94 kB / 449.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4618, allocations: 425.1 kB / 450 MB, free: 9.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4621, allocations: 0.7197 MB / 450.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.4622, allocations: 12.55 kB / 450.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.4622, allocations: 14.62 kB / 450.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4622, allocations: 0 / 450.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Templates: time 0.003866/0.4661, allocations: 1.336 MB / 452 MB, free: 7.066 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches