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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008425, allocations: 96.8 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002702, allocations: 12 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3019, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4121, allocations: 79.14 MB / 488.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4124, allocations: 71.97 kB / 488.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.4226, allocations: 3.381 MB / 492 MB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4227, allocations: 0 / 492 MB, free: 8.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4227, allocations: 0 / 492 MB, free: 8.934 MB / 362.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.0007788/0.4235, allocations: 459.2 kB / 492.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4236, allocations: 8.031 kB / 492.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.424, allocations: 60.73 kB / 492.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.4242, allocations: 193.1 kB / 492.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4243, allocations: 8.375 kB / 492.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4243, allocations: 16.36 kB / 492.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.4247, allocations: 153.4 kB / 492.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4247, allocations: 4.188 kB / 492.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4248, allocations: 3.938 kB / 492.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4248, allocations: 0 / 492.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.4251, allocations: 103.8 kB / 493 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4263, allocations: 0.5148 MB / 493.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.4266, allocations: 106.5 kB / 493.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.4268, allocations: 72.83 kB / 493.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4269, allocations: 0 / 493.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.4269, allocations: 34.56 kB / 493.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4269, allocations: 0 / 493.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005474/0.4275, allocations: 153.6 kB / 493.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.4276, allocations: 110.8 kB / 493.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4278, allocations: 150.2 kB / 494.1 MB, free: 6.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.4278, allocations: 33.7 kB / 494.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.4279, allocations: 115.9 kB / 494.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.4279, allocations: 31.55 kB / 494.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.428, allocations: 0 / 494.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4281, allocations: 322.8 kB / 494.6 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4283, allocations: 39.98 kB / 494.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4285, allocations: 85.94 kB / 494.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.4288, allocations: 111.4 kB / 494.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4288, allocations: 0 / 494.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000332/0.4292, allocations: 149.5 kB / 494.9 MB, free: 5.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4292, allocations: 8 kB / 495 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4292, allocations: 3.938 kB / 495 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4292, allocations: 0 / 495 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.4298, allocations: 83.86 kB / 495 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.4313, allocations: 1.405 MB / 496.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.4315, allocations: 23.95 kB / 496.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4315, allocations: 7.984 kB / 496.5 MB, free: 4.004 MB / 362.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.000119/0.4316, allocations: 125.7 kB / 496.6 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.4317, allocations: 11.81 kB / 496.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.4321, allocations: 167.2 kB / 496.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4321, allocations: 3.984 kB / 496.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.4321, allocations: 0 / 496.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4321, allocations: 0 / 496.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.4329, allocations: 468.1 kB / 497.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4329, allocations: 0 / 497.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.433, allocations: 28 kB / 497.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.4333, allocations: 40.77 kB / 497.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4333, allocations: 3.938 kB / 497.3 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.4344, allocations: 1.292 MB / 498.6 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4344, allocations: 3.938 kB / 498.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.435, allocations: 309.6 kB / 498.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.4351, allocations: 85.05 kB / 499 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4351, allocations: 0 / 499 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4352, allocations: 23.98 kB / 499 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.4353, allocations: 11.92 kB / 499 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4353, allocations: 8.062 kB / 499 MB, free: 1.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.4354, allocations: 116.1 kB / 499.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4354, allocations: 0 / 499.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000308/0.4357, allocations: 51.84 kB / 499.2 MB, free: 1.027 MB / 362.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.0001599/0.4359, allocations: 107.2 kB / 499.3 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006427/0.4365, allocations: 139.8 kB / 499.4 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4366, allocations: 0 / 499.4 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.4369, allocations: 166.9 kB / 499.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4371, allocations: 14.41 kB / 499.6 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4387, allocations: 0.6155 MB / 0.4885 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4389, allocations: 0.7121 MB / 0.4892 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.439, allocations: 8.562 kB / 0.4892 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.439, allocations: 19.42 kB / 0.4892 GB, free: 15.18 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.439, allocations: 0 / 0.4892 GB, free: 15.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004015/0.4431, allocations: 1.463 MB / 0.4907 GB, free: 13.72 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches