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.0009796/0.0009796, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.431/1.431, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0008889/0.0008888, allocations: 93.66 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003834, allocations: 19.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3571, allocations: 77 MB / 454 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.3573, allocations: 67.97 kB / 454.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009513/0.3669, allocations: 3.165 MB / 457.3 MB, free: 316 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3669, allocations: 0 / 457.3 MB, free: 316 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3669, allocations: 4 kB / 457.3 MB, free: 312 kB / 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.000636/0.3676, allocations: 450.9 kB / 457.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3676, allocations: 8.031 kB / 457.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3677, allocations: 12.84 kB / 457.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3679, allocations: 200 kB / 457.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3679, allocations: 8.375 kB / 457.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.3679, allocations: 12.38 kB / 457.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3682, allocations: 152.6 kB / 458.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3683, allocations: 4.188 kB / 458.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3683, allocations: 3.938 kB / 458.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3683, allocations: 4 kB / 458.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.3686, allocations: 99.92 kB / 458.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.3695, allocations: 0.5109 MB / 458.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3698, allocations: 106.5 kB / 458.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.37, allocations: 72.83 kB / 458.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.37, allocations: 4 kB / 458.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3701, allocations: 30.56 kB / 458.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3701, allocations: 224 / 458.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004838/0.3706, allocations: 157.4 kB / 459.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3706, allocations: 106.8 kB / 459.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3708, allocations: 154.6 kB / 459.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3708, allocations: 37.7 kB / 459.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3709, allocations: 116.8 kB / 459.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.371, allocations: 31.78 kB / 459.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.371, allocations: 0 / 459.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3711, allocations: 322.8 kB / 459.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3712, allocations: 39.98 kB / 459.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3714, allocations: 81.12 kB / 459.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3717, allocations: 111.4 kB / 460.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3717, allocations: 0 / 460.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003445/0.372, allocations: 153.5 kB / 460.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.372, allocations: 8 kB / 460.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3721, allocations: 3.938 kB / 460.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3721, allocations: 0 / 460.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.3726, allocations: 83.86 kB / 460.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.3741, allocations: 1.409 MB / 461.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3743, allocations: 27.95 kB / 461.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3743, allocations: 7.984 kB / 461.7 MB, free: 11.41 MB / 346.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 () * 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 (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 0.0001675/0.3745, allocations: 125.7 kB / 461.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3745, allocations: 15.81 kB / 461.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.375, allocations: 159.2 kB / 462 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.375, allocations: 0 / 462 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.375, allocations: 0 / 462 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.375, allocations: 4 kB / 462 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.3758, allocations: 464 kB / 462.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3758, allocations: 0 / 462.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3759, allocations: 31.94 kB / 462.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.3763, allocations: 36.83 kB / 462.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3763, allocations: 3.938 kB / 462.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3773, allocations: 1.304 MB / 463.9 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3773, allocations: 0 / 463.9 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.3779, allocations: 301.2 kB / 464.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.378, allocations: 85.05 kB / 464.2 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.378, allocations: 3.938 kB / 464.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3782, allocations: 19.98 kB / 464.3 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3782, allocations: 7.984 kB / 464.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3782, allocations: 4.062 kB / 464.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.3783, allocations: 119.2 kB / 464.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3783, allocations: 0 / 464.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.3787, allocations: 47.84 kB / 464.4 MB, free: 8.449 MB / 346.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 () * 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 (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.0001503/0.3789, allocations: 102.6 kB / 464.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.3795, allocations: 148.4 kB / 464.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3796, allocations: 0 / 464.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3799, allocations: 166.7 kB / 464.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3802, allocations: 18.03 kB / 464.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3817, allocations: 0.6118 MB / 465.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.382, allocations: 0.7082 MB / 466.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.3821, allocations: 20.48 kB / 466.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.3821, allocations: 11.44 kB / 466.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3821, allocations: 4 kB / 466.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of Templates: time 0.004159/0.3863, allocations: 1.463 MB / 467.7 MB, free: 5.137 MB / 346.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/jenkins1/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