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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008743/0.0008743, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009314/0.0009314, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9759/0.9759, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,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=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.617e-05, allocations: 9.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002274/0.00229, allocations: 2.067 MB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.003155, allocations: 0.6541 MB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.003224, allocations: 3.938 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.003275, allocations: 23.78 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003392, allocations: 43.62 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.003696, allocations: 111.6 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003868, allocations: 195.2 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.686e-05/0.003965, allocations: 26.45 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.004142, allocations: 123.6 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.004218, allocations: 63.8 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004241, allocations: 16 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.004287, allocations: 20 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.004312, allocations: 39.83 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.004354, allocations: 59.83 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004502, allocations: 131.6 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004504, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004504, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004508, allocations: 0 / 277 MB, free: 13.46 MB / 266.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.0004024/0.00491, allocations: 368.1 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.004939, allocations: 11.98 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.005113, allocations: 56.89 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.005256, allocations: 145.5 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005267, allocations: 8.375 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.005289, allocations: 12.31 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.005453, allocations: 180.7 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005461, allocations: 192 / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.005476, allocations: 8.375 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005483, allocations: 7.875 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.005529, allocations: 33.19 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.005946, allocations: 323 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.006285, allocations: 46.55 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.006343, allocations: 28.84 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006357, allocations: 4 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.006378, allocations: 38.72 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.006378, allocations: 7.938 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001421/0.006521, allocations: 65.66 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.006564, allocations: 110.8 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/0.006637, allocations: 146.6 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.006652, allocations: 33.7 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.006697, allocations: 115.9 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.006713, allocations: 27.78 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.00675, allocations: 29.69 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.006818, allocations: 326.8 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.006838, allocations: 11.98 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.00689, allocations: 107.6 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.006941, allocations: 50.56 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006943, allocations: 0 / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.987e-05/0.007023, allocations: 69.61 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.007033, allocations: 11.98 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.007037, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007048, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.007316, allocations: 91.83 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.007978, allocations: 1.272 MB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.008042, allocations: 16 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.00805, allocations: 8.125 kB / 280.7 MB, free: 9.418 MB / 266.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/0.008114, allocations: 117.8 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.008135, allocations: 15.94 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.008275, allocations: 99.19 kB / 280.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.008276, allocations: 0 / 280.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.008277, allocations: 0 / 280.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008281, allocations: 7.984 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.008557, allocations: 276.3 kB / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008558, allocations: 0 / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.008621, allocations: 19.98 kB / 281.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.008759, allocations: 40.77 kB / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.008766, allocations: 4 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004947/0.009261, allocations: 1.17 MB / 282.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009262, allocations: 0 / 282.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009429, allocations: 201.1 kB / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.009441, allocations: 7.953 kB / 282.6 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.009454, allocations: 12.14 kB / 282.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.009515, allocations: 15.88 kB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.009541, allocations: 7.984 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.009544, allocations: 0 / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.895e-05/0.009573, allocations: 41.69 kB / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.009573, allocations: 0 / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.009732, allocations: 39.89 kB / 282.7 MB, free: 7.191 MB / 266.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.061e-05/0.009803, allocations: 80.42 kB / 282.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.01004, allocations: 88.72 kB / 282.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01004, allocations: 4 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01017, allocations: 150.5 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.01028, allocations: 11.98 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.01095, allocations: 406.5 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.01099, allocations: 71.33 kB / 283.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.01102, allocations: 8.5 kB / 283.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.0111, allocations: 75.28 kB / 283.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0111, allocations: 0 / 283.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of Templates: time 0.003407/0.0145, allocations: 1.879 MB / 285.5 MB, free: 4.375 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5493436655960977]