Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001231/0.001231, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00162/0.00162, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9202/0.9202, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 34.25 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.074e-05, allocations: 3.516 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002091/0.002111, allocations: 1.69 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.002861, allocations: 0.553 MB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.002917, allocations: 3.938 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.003171, allocations: 103.6 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.003436, allocations: 107.6 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.003693, allocations: 127.5 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003836, allocations: 91.81 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003936, allocations: 27.91 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.004015, allocations: 55.88 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.004107, allocations: 55.86 kB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.004121, allocations: 4 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.004199, allocations: 51.86 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.004243, allocations: 27.86 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.004267, allocations: 23.92 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004413, allocations: 107.6 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004415, allocations: 4 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004416, allocations: 0 / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004419, allocations: 0 / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003186/0.004737, allocations: 341.9 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.00477, allocations: 8.031 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.004799, allocations: 12.92 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.004926, allocations: 149.5 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.004934, allocations: 4.375 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.004953, allocations: 8.359 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.005045, allocations: 74.94 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.005052, allocations: 4.125 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.005061, allocations: 8.125 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005066, allocations: 4 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.005091, allocations: 11.98 kB / 328.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.005323, allocations: 199 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.005382, allocations: 42.48 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.005401, allocations: 20.78 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.005417, allocations: 0 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005437, allocations: 42.56 kB / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.005438, allocations: 0 / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004857/0.005924, allocations: 198.1 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.00595, allocations: 51.41 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006061, allocations: 189.1 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.006073, allocations: 29.7 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.006107, allocations: 104 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.006135, allocations: 43.62 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006167, allocations: 29.66 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.006243, allocations: 334.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.00626, allocations: 8 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.00628, allocations: 13.12 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.006328, allocations: 47.02 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006329, allocations: 0 / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.953e-05/0.006409, allocations: 85.59 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006421, allocations: 10.34 kB / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006425, allocations: 0 / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006436, allocations: 3.984 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.006508, allocations: 27.98 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006511, allocations: 0 / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.00653, allocations: 4 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006537, allocations: 4 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 6.156e-05/0.006598, allocations: 124.5 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.006617, allocations: 8 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.006739, allocations: 99.25 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006742, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006743, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.006747, allocations: 3.984 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.007012, allocations: 300.4 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007013, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.00706, allocations: 27.92 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007062, allocations: 0 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.007067, allocations: 3.938 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.00707, allocations: 4 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007072, allocations: 3.938 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.721e-05/0.007169, allocations: 180.3 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.007181, allocations: 11.91 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.007193, allocations: 4 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.007227, allocations: 8.031 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.007253, allocations: 11.92 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.00726, allocations: 7.984 kB / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.596e-05/0.007306, allocations: 61.55 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007306, allocations: 0 / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.007453, allocations: 24 kB / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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 0.001178/0.008631, allocations: 0.5774 MB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.986e-05/0.008731, allocations: 56.39 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.008735, allocations: 4 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.008764, allocations: 28.78 kB / 331.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.008917, allocations: 23.98 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.009231, allocations: 282.4 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.009271, allocations: 75.33 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.009308, allocations: 12.48 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.009368, allocations: 71.36 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.009369, allocations: 0 / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of Templates: time 0.003165/0.01253, allocations: 1.754 MB / 334.1 MB, free: 14.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.9456642027944326]