Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001306/0.001306, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001426/0.001426, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.382/1.382, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1959/0.1959, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 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.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.06e-05, allocations: 5.375 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002826/0.002856, allocations: 1.615 MB / 441.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003931, allocations: 0.5337 MB / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.003984, allocations: 0 / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.004263, allocations: 87.67 kB / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.004561, allocations: 119.5 kB / 442.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.004861, allocations: 118.2 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.005028, allocations: 91.69 kB / 442.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.00512, allocations: 11.98 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.005208, allocations: 51.81 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005309, allocations: 55.88 kB / 442.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.005325, allocations: 4 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.005426, allocations: 47.92 kB / 442.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.005478, allocations: 19.92 kB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.005514, allocations: 19.86 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005706, allocations: 107.6 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.005708, allocations: 0 / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005709, allocations: 0 / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005713, allocations: 0 / 443 MB, free: 5.246 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000495/0.006208, allocations: 345.6 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006242, allocations: 11.97 kB / 443.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.006286, allocations: 16.83 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.006479, allocations: 158 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.006488, allocations: 384 / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.006512, allocations: 8.375 kB / 443.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.00665, allocations: 46.25 kB / 443.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.006664, allocations: 4.188 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006679, allocations: 12.11 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.006683, allocations: 0 / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.006786, allocations: 23.98 kB / 443.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.007179, allocations: 252.4 kB / 443.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.007308, allocations: 42.56 kB / 443.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.007367, allocations: 24.88 kB / 443.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007386, allocations: 0 / 443.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.007412, allocations: 30.56 kB / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007413, allocations: 0 / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009137/0.008326, allocations: 253.2 kB / 444.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.008367, allocations: 51.41 kB / 444.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.008603, allocations: 234.8 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.00862, allocations: 25.7 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.0087, allocations: 116 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.008732, allocations: 23.81 kB / 444.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.008773, allocations: 21.7 kB / 444.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.008924, allocations: 326.8 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.009017, allocations: 27.98 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.009106, allocations: 39.97 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.009283, allocations: 72.81 kB / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.009284, allocations: 0 / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002363/0.00952, allocations: 109.5 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.009533, allocations: 7.938 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009537, allocations: 0 / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.009552, allocations: 7.938 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.009653, allocations: 19.98 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009657, allocations: 0 / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.009701, allocations: 4 kB / 445.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.009716, allocations: 8 kB / 445.3 MB, free: 2.793 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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 0.0001017/0.009817, allocations: 130.4 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.009855, allocations: 11.91 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.01017, allocations: 143.3 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.01017, allocations: 4 kB / 445.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.01018, allocations: 8.422 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01018, allocations: 0 / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.01071, allocations: 366.9 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01071, allocations: 0 / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.01079, allocations: 19.98 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01079, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.0108, allocations: 3.984 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0108, allocations: 0 / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0108, allocations: 4.031 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01111, allocations: 220.1 kB / 446.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.01113, allocations: 11.95 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01114, allocations: 0 / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.01122, allocations: 7.984 kB / 446.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01126, allocations: 7.938 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01127, allocations: 0 / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.01143, allocations: 180.3 kB / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01143, allocations: 0 / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.01168, allocations: 24 kB / 446.4 MB, free: 1.594 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001823/0.0135, allocations: 489.8 kB / 446.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.01375, allocations: 83.88 kB / 446.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01375, allocations: 0 / 446.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.01385, allocations: 31.92 kB / 447 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01415, allocations: 26.97 kB / 447 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.01474, allocations: 286 kB / 447.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01485, allocations: 100.8 kB / 447.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.01492, allocations: 25.08 kB / 447.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.01496, allocations: 16.5 kB / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.01496, allocations: 0 / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Templates: time 0.1754/0.1904, allocations: 1.397 MB / 448.8 MB, free: 21.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5557406805455685]