Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00481/0.00481, allocations: 173.1 kB / 25.61 MB, free: 8.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9479/0.9479, allocations: 177.1 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1553/0.1553, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.601e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002219/0.002245, allocations: 1.94 MB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.002986, allocations: 0.5648 MB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.003052, allocations: 4 kB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.651e-05/0.003099, allocations: 11.86 kB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003295, allocations: 43.64 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.003532, allocations: 79.75 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.003653, allocations: 159.4 kB / 380 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.003762, allocations: 21.28 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.00396, allocations: 107.8 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.004033, allocations: 51.83 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.004054, allocations: 12 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.004098, allocations: 23.97 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.004117, allocations: 19.92 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.004155, allocations: 47.89 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.0043, allocations: 115.5 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.004303, allocations: 0 / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004304, allocations: 0 / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004308, allocations: 0 / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004099/0.004718, allocations: 468 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004752, allocations: 15.98 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.004913, allocations: 40.88 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.626e-05/0.004989, allocations: 130.5 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005001, allocations: 12.31 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.005024, allocations: 12.38 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.005193, allocations: 177.3 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005202, allocations: 192 / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005214, allocations: 4.375 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005219, allocations: 7.938 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.005262, allocations: 19.98 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.00566, allocations: 395.1 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.949e-05/0.00573, allocations: 50.98 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.00575, allocations: 15.77 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.005762, allocations: 0 / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.00578, allocations: 41.39 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.00578, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003733/0.006154, allocations: 121.4 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.00618, allocations: 106.8 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.006249, allocations: 199.8 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.006257, allocations: 25.7 kB / 382.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.006303, allocations: 174.9 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.006314, allocations: 15.8 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.006353, allocations: 39.34 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.006394, allocations: 0.4961 MB / 382.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.00642, allocations: 8 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.006465, allocations: 113.8 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.006518, allocations: 51.05 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006519, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001017/0.006621, allocations: 85.59 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.006636, allocations: 8 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006641, allocations: 4.016 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.006649, allocations: 3.938 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.006918, allocations: 75.92 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.007614, allocations: 1.875 MB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.007695, allocations: 19.98 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.007703, allocations: 3.984 kB / 385.2 MB, free: 17.24 MB / 314.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 (9): * Single equations (assignments): 8 * 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.036e-05/0.007764, allocations: 164.5 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.007789, allocations: 16.08 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.007878, allocations: 78.38 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00788, allocations: 0 / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007882, allocations: 4.062 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.007885, allocations: 0 / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.008124, allocations: 326 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008125, allocations: 0 / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.008182, allocations: 23.98 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008185, allocations: 3.938 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.008191, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008193, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008194, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.67e-05/0.008281, allocations: 211.8 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.008293, allocations: 11.94 kB / 386 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.008308, allocations: 7.938 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.008377, allocations: 11.98 kB / 386 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.008413, allocations: 11.97 kB / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008418, allocations: 0 / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.008449, allocations: 150 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008449, allocations: 4 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.008617, allocations: 24 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.809e-05/0.008695, allocations: 103.2 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.008988, allocations: 87.53 kB / 386.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.00899, allocations: 0 / 386.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.009019, allocations: 19.69 kB / 386.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.009217, allocations: 25.45 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.009768, allocations: 315.2 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.492e-05/0.009793, allocations: 63.34 kB / 386.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.00984, allocations: 24.45 kB / 386.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.009936, allocations: 102.2 kB / 386.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009937, allocations: 0 / 386.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.0035/0.01344, allocations: 2.059 MB / 389 MB, free: 13.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.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: 3.1944370549172163]