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.001534/0.001534, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007938/0.0007939, allocations: 85.97 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.338e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.0869, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4332, allocations: 76.87 MB / 446.9 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4335, allocations: 70.03 kB / 447 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009235/0.4427, allocations: 3.147 MB / 450.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4428, allocations: 0 / 450.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4428, allocations: 4 kB / 450.1 MB, free: 13.66 MB / 330.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.0007849/0.4436, allocations: 433.1 kB / 450.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4436, allocations: 12.03 kB / 450.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.4437, allocations: 15.81 kB / 450.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.444, allocations: 186.3 kB / 450.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.444, allocations: 15.33 kB / 450.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.4441, allocations: 11.91 kB / 450.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.4443, allocations: 137.2 kB / 450.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4443, allocations: 4 kB / 450.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.4444, allocations: 3.75 kB / 450.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4444, allocations: 4 kB / 450.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.4445, allocations: 61.23 kB / 451 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.4454, allocations: 0.5043 MB / 451.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4456, allocations: 82.75 kB / 451.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4457, allocations: 56.45 kB / 451.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4457, allocations: 0 / 451.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4458, allocations: 41.89 kB / 451.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4458, allocations: 0 / 451.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002241/0.446, allocations: 86.41 kB / 451.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4461, allocations: 110.8 kB / 451.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4462, allocations: 150.1 kB / 452 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4462, allocations: 29.7 kB / 452 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.4463, allocations: 115.3 kB / 452.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4464, allocations: 26.95 kB / 452.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/0.4464, allocations: 3.938 kB / 452.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4465, allocations: 325.3 kB / 452.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.4466, allocations: 24.56 kB / 452.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4467, allocations: 69.83 kB / 452.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.4468, allocations: 36.55 kB / 452.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4469, allocations: 0 / 452.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.4471, allocations: 119.7 kB / 452.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4471, allocations: 8.094 kB / 452.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4471, allocations: 7.953 kB / 452.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4472, allocations: 0 / 452.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.4477, allocations: 87.28 kB / 452.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.449, allocations: 1.383 MB / 454.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4492, allocations: 31.11 kB / 454.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.4493, allocations: 4 kB / 454.2 MB, free: 9.473 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 7.927e-05/0.4493, allocations: 108.3 kB / 454.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.4494, allocations: 7.906 kB / 454.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.4497, allocations: 135.1 kB / 454.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4497, allocations: 4 kB / 454.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.4497, allocations: 0 / 454.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4497, allocations: 0 / 454.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.4503, allocations: 441.2 kB / 454.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4503, allocations: 0 / 454.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4505, allocations: 19.98 kB / 454.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.4507, allocations: 39.86 kB / 455 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4507, allocations: 10.48 kB / 455 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.4517, allocations: 1.292 MB / 456.3 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4518, allocations: 4.031 kB / 456.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.4521, allocations: 273 kB / 456.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.4522, allocations: 92.61 kB / 456.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4522, allocations: 3.984 kB / 456.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4524, allocations: 27.88 kB / 456.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.4525, allocations: 11.94 kB / 456.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4525, allocations: 4 kB / 456.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.4526, allocations: 115.6 kB / 456.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4526, allocations: 0 / 456.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.4529, allocations: 35.88 kB / 456.8 MB, free: 6.801 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.00015/0.4531, allocations: 107.2 kB / 456.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.4537, allocations: 114.6 kB / 457.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4537, allocations: 3.938 kB / 457.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.4539, allocations: 157.8 kB / 457.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.4541, allocations: 8.109 kB / 457.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4554, allocations: 434.5 kB / 457.6 MB, free: 6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.4557, allocations: 0.7199 MB / 458.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.4558, allocations: 12.55 kB / 458.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.4558, allocations: 11.44 kB / 458.4 MB, free: 5.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4558, allocations: 0 / 458.4 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Templates: time 0.004569/0.4604, allocations: 1.459 MB / 459.9 MB, free: 3.785 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