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.0009777/0.0009777, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001114/0.001114, allocations: 158.5 kB / 24.99 MB, free: 8.219 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.9943/0.9943, allocations: 177 MB / 205.2 MB, free: 5.609 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 2.314e-06/2.314e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.383e-05, allocations: 2.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003717/0.003751, allocations: 2.075 MB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004993, allocations: 0.6348 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.005087, allocations: 4 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.77e-05/0.005155, allocations: 23.78 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.005322, allocations: 47.56 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.005766, allocations: 111.6 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.006031, allocations: 191.2 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.006184, allocations: 32.91 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.006464, allocations: 119.8 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.006582, allocations: 63.8 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.006618, allocations: 19.94 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.006693, allocations: 23.94 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.006732, allocations: 39.83 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.006804, allocations: 59.83 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.007042, allocations: 127.6 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007045, allocations: 0 / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007046, allocations: 0 / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.007051, allocations: 0 / 276.6 MB, free: 14.18 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.0007263/0.007777, allocations: 499.8 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.007819, allocations: 11.98 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.008169, allocations: 56.81 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.008422, allocations: 160.3 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.008439, allocations: 12.38 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.008477, allocations: 12.38 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.008814, allocations: 197.2 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.008828, allocations: 192 / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.008851, allocations: 8.359 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.008863, allocations: 7.938 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.008997, allocations: 41.33 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.00986, allocations: 458.5 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.01003, allocations: 70.97 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.01017, allocations: 43.81 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.01019, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.01022, allocations: 41.33 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01022, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002907/0.01051, allocations: 85.58 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.01057, allocations: 106.8 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.01075, allocations: 217.8 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01077, allocations: 29.7 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.01087, allocations: 162.7 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.0109, allocations: 35.73 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.01096, allocations: 35.36 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.01111, allocations: 0.4923 MB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.01117, allocations: 11.98 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01128, allocations: 117.8 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.01142, allocations: 67.03 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01142, allocations: 0 / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.01164, allocations: 101.5 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01165, allocations: 4 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01166, allocations: 64 / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01167, allocations: 8 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.01218, allocations: 83.84 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.01354, allocations: 1.882 MB / 281.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01365, allocations: 19.94 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01367, allocations: 4 kB / 281.6 MB, free: 8.734 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 9.931e-05/0.01376, allocations: 164.5 kB / 281.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.01381, allocations: 11.89 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.01411, allocations: 114.1 kB / 281.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01411, allocations: 12.03 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01411, allocations: 0 / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01412, allocations: 0 / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.01467, allocations: 412.5 kB / 282.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.01468, allocations: 3.984 kB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01479, allocations: 23.92 kB / 282.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.01504, allocations: 39.69 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01505, allocations: 8 kB / 282.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.01612, allocations: 1.744 MB / 284.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01612, allocations: 4.125 kB / 284.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.0165, allocations: 279.1 kB / 284.4 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.01652, allocations: 15.91 kB / 284.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.01655, allocations: 3.938 kB / 284.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01667, allocations: 11.98 kB / 284.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.01672, allocations: 11.98 kB / 284.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.01672, allocations: 0 / 284.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.01682, allocations: 160 kB / 284.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01682, allocations: 4.031 kB / 284.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.01713, allocations: 35.94 kB / 284.6 MB, free: 5.473 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 0.0001127/0.01724, allocations: 95.25 kB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.01768, allocations: 99.53 kB / 284.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01768, allocations: 0 / 284.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.01791, allocations: 216.7 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01819, allocations: 13.02 kB / 285 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01941, allocations: 430.8 kB / 285.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01947, allocations: 71.33 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.01951, allocations: 24.41 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.01955, allocations: 20.42 kB / 285.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01955, allocations: 0 / 285.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of Templates: time 0.003583/0.02313, allocations: 1.803 MB / 287.4 MB, free: 2.641 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.83522136695683]