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.001071/0.001071, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008387/0.0008387, allocations: 104.1 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002026/0.0002025, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1846, allocations: 51.49 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08729/0.272, allocations: 79.21 MB / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.2722, allocations: 67.97 kB / 488.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009461/0.2817, allocations: 3.38 MB / 492.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2817, allocations: 0 / 492.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2817, allocations: 4 kB / 492.1 MB, free: 7.988 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.0006029/0.2823, allocations: 450.9 kB / 492.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2824, allocations: 12.03 kB / 492.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.2828, allocations: 55.86 kB / 492.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2829, allocations: 203.5 kB / 492.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2829, allocations: 11.95 kB / 492.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.283, allocations: 8 kB / 492.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2833, allocations: 158.1 kB / 493 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2833, allocations: 0 / 493 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2833, allocations: 0 / 493 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2833, allocations: 7.938 kB / 493 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.2836, allocations: 95.94 kB / 493.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.2845, allocations: 0.5188 MB / 493.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.2848, allocations: 102.5 kB / 493.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2848, allocations: 0 / 493.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2848, allocations: 38.45 kB / 493.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.2848, allocations: 0 / 493.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004642/0.2853, allocations: 157.5 kB / 493.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2854, allocations: 102.8 kB / 494 MB, free: 5.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2855, allocations: 139.8 kB / 494.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2855, allocations: 33.69 kB / 494.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2856, allocations: 115.9 kB / 494.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2856, allocations: 27.64 kB / 494.3 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.2856, allocations: 0 / 494.3 MB, free: 5.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.2857, allocations: 330.8 kB / 494.6 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2859, allocations: 39.97 kB / 494.6 MB, free: 5.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.286, allocations: 88.14 kB / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2862, allocations: 43.98 kB / 494.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2862, allocations: 0 / 494.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003269/0.2865, allocations: 149.5 kB / 494.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2865, allocations: 8 kB / 494.9 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2866, allocations: 3.953 kB / 494.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2866, allocations: 3.984 kB / 494.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.2872, allocations: 79.92 kB / 495 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.2883, allocations: 1.394 MB / 496.4 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.2885, allocations: 19.92 kB / 496.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2885, allocations: 4 kB / 496.4 MB, free: 3.246 MB / 362.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.000102/0.2886, allocations: 125.8 kB / 496.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.2887, allocations: 11.89 kB / 496.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.2891, allocations: 175.5 kB / 496.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2892, allocations: 0 / 496.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.2892, allocations: 0 / 496.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2892, allocations: 4 kB / 496.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2894, allocations: 225.6 kB / 497 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2894, allocations: 0 / 497 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2896, allocations: 24.03 kB / 497 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.2898, allocations: 48.69 kB / 497 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2898, allocations: 4 kB / 497 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009148/0.2908, allocations: 1.296 MB / 498.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2908, allocations: 8.094 kB / 498.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.2913, allocations: 304.1 kB / 498.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2914, allocations: 84.92 kB / 498.7 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.2914, allocations: 8 kB / 498.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2916, allocations: 11.98 kB / 498.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2916, allocations: 8.047 kB / 498.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2916, allocations: 8 kB / 498.7 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.2917, allocations: 120.1 kB / 498.9 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2917, allocations: 0 / 498.9 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.292, allocations: 43.94 kB / 498.9 MB, free: 0.5195 MB / 362.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.0001345/0.2921, allocations: 115.2 kB / 499 MB, free: 408 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.2929, allocations: 147.8 kB / 499.2 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2929, allocations: 0 / 499.2 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.2932, allocations: 166.7 kB / 499.3 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2933, allocations: 18.17 kB / 499.3 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2948, allocations: 0.6064 MB / 499.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2951, allocations: 0.7082 MB / 0.4889 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.2951, allocations: 20.47 kB / 0.4889 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.2952, allocations: 23.42 kB / 0.489 GB, free: 14.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2952, allocations: 3.938 kB / 0.489 GB, free: 14.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003711/0.2989, allocations: 1.458 MB / 0.4904 GB, free: 13.21 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/jenkins/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