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.0011/0.0011, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.449/1.449, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008744/0.0008738, allocations: 97.11 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09339/0.3573, allocations: 76.96 MB / 452.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3576, allocations: 67.97 kB / 452.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008953/0.3665, allocations: 3.159 MB / 456 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3665, allocations: 0 / 456 MB, free: 476 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3666, allocations: 0 / 456 MB, free: 476 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.000616/0.3672, allocations: 454.7 kB / 456.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3672, allocations: 8.031 kB / 456.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.3673, allocations: 11.91 kB / 456.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3674, allocations: 205.4 kB / 456.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3675, allocations: 11.95 kB / 456.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.3675, allocations: 8 kB / 456.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3678, allocations: 146.3 kB / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3678, allocations: 0 / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3679, allocations: 15.98 kB / 456.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3679, allocations: 0 / 456.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.3681, allocations: 95.94 kB / 456.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008927/0.369, allocations: 0.5148 MB / 457.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.3694, allocations: 106.5 kB / 457.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3694, allocations: 0 / 457.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3694, allocations: 42.45 kB / 457.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3694, allocations: 0 / 457.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004631/0.3699, allocations: 153.5 kB / 457.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.37, allocations: 106.8 kB / 457.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3701, allocations: 141.8 kB / 458 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3701, allocations: 29.92 kB / 458 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.3702, allocations: 128.8 kB / 458.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3703, allocations: 31.73 kB / 458.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.3703, allocations: 0 / 458.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3704, allocations: 322.8 kB / 458.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3706, allocations: 43.97 kB / 458.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3707, allocations: 81.14 kB / 458.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3709, allocations: 47.92 kB / 458.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3709, allocations: 4.031 kB / 458.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003336/0.3712, allocations: 145.5 kB / 458.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3712, allocations: 4 kB / 458.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3713, allocations: 0 / 458.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3713, allocations: 7.953 kB / 458.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.3719, allocations: 87.94 kB / 458.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.3733, allocations: 1.382 MB / 460.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3735, allocations: 23.92 kB / 460.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3735, allocations: 4.219 kB / 460.3 MB, free: 11.77 MB / 346.7 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 (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.0001053/0.3736, allocations: 125.8 kB / 460.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.3736, allocations: 15.81 kB / 460.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.3741, allocations: 163.5 kB / 460.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3741, allocations: 3.938 kB / 460.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3741, allocations: 4 kB / 460.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3742, allocations: 0 / 460.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.3744, allocations: 233.6 kB / 460.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3744, allocations: 0 / 460.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3746, allocations: 19.98 kB / 460.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.3748, allocations: 48.77 kB / 460.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3749, allocations: 0 / 460.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3759, allocations: 1.308 MB / 462.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3759, allocations: 0 / 462.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.3765, allocations: 300.3 kB / 462.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3766, allocations: 88.95 kB / 462.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3766, allocations: 3.938 kB / 462.6 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3768, allocations: 24.05 kB / 462.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3768, allocations: 7.984 kB / 462.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3769, allocations: 3.938 kB / 462.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.3769, allocations: 119.2 kB / 462.8 MB, free: 9.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 0 / 462.8 MB, free: 9.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000275/0.3772, allocations: 39.94 kB / 462.8 MB, free: 9.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001295/0.3774, allocations: 103.2 kB / 462.9 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.3781, allocations: 155.9 kB / 463 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3781, allocations: 0 / 463 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.3784, allocations: 162.7 kB / 463.2 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.3786, allocations: 10.06 kB / 463.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3801, allocations: 0.6142 MB / 463.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3803, allocations: 0.7199 MB / 464.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3804, allocations: 12.53 kB / 464.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.3804, allocations: 15.44 kB / 464.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3804, allocations: 0 / 464.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of Templates: time 0.003671/0.3841, allocations: 1.457 MB / 466 MB, free: 5.734 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/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