Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001023/0.001023, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001544/0.001544, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.02/1.02, allocations: 177.2 MB / 205 MB, free: 5.609 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.2542/0.2542, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.063e-05/4.328e-05, allocations: 6.312 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.004355/0.004398, allocations: 1.712 MB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.005588, allocations: 0.5491 MB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.00565, allocations: 0 / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.005938, allocations: 71.77 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.00627, allocations: 103.5 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.006561, allocations: 131.6 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.006746, allocations: 91.81 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.006853, allocations: 20.22 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.006932, allocations: 47.88 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.007033, allocations: 47.89 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.007049, allocations: 4 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.007142, allocations: 55.89 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.007219, allocations: 27.86 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.007252, allocations: 19.92 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.007433, allocations: 99.59 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.007439, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.00744, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.007446, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004936/0.00794, allocations: 447.9 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.007982, allocations: 8.031 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.008044, allocations: 20.84 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.008212, allocations: 153.7 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.008223, allocations: 4.375 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.008248, allocations: 4.375 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.008397, allocations: 62.94 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.00841, allocations: 8.141 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.008422, allocations: 4.125 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.008431, allocations: 8 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.008471, allocations: 11.98 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.008814, allocations: 299.7 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.009027, allocations: 50.98 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.009056, allocations: 23.83 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.009078, allocations: 4 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.009103, allocations: 37.39 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.704e-06/0.009105, allocations: 0 / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006974/0.009802, allocations: 253.4 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.009837, allocations: 51.41 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.009999, allocations: 238.4 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.01001, allocations: 25.7 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.01009, allocations: 154.9 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.01013, allocations: 39.64 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.01018, allocations: 35.31 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01034, allocations: 0.5117 MB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.01038, allocations: 12 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.01041, allocations: 15.98 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.01049, allocations: 43.69 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01049, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001305/0.01062, allocations: 93.89 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01064, allocations: 8 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01064, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01066, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.01075, allocations: 23.92 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.01075, allocations: 4 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.01078, allocations: 11.95 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.01079, allocations: 3.984 kB / 383.7 MB, free: 12.75 MB / 362.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 (11): * Single equations (assignments): 11 * 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 8.646e-05/0.01088, allocations: 164.5 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.0109, allocations: 15.95 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.0111, allocations: 111 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01111, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01111, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01111, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.01152, allocations: 428.5 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01152, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.01159, allocations: 27.92 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01159, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.0116, allocations: 4.188 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.01161, allocations: 7.938 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01161, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.0118, allocations: 267.1 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01181, allocations: 11.95 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01183, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.01187, allocations: 15.98 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.01192, allocations: 11.98 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.01193, allocations: 4 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.01203, allocations: 167.2 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01203, allocations: 3.938 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01221, allocations: 20 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.00103/0.01324, allocations: 434.1 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01339, allocations: 51.61 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01339, allocations: 8 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.01344, allocations: 43.59 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01368, allocations: 35.69 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.01413, allocations: 266.8 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.01418, allocations: 71.34 kB / 385.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01422, allocations: 20.59 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.01426, allocations: 16.5 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01426, allocations: 0 / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.003897/0.01816, allocations: 1.706 MB / 387.6 MB, free: 8.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.326311689801514]