Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0009283/0.0009283, allocations: 79.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.0009305/0.0009305, allocations: 165.4 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 0.9871/0.9871, allocations: 177.1 MB / 205 MB, free: 5.613 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.2842/0.2842, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.804e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003182/0.00321, allocations: 1.727 MB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.004155, allocations: 0.5414 MB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.004213, allocations: 4 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.004491, allocations: 63.72 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.004842, allocations: 99.47 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.005177, allocations: 131.6 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.005383, allocations: 83.84 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.005485, allocations: 20.12 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.005571, allocations: 43.89 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.005675, allocations: 51.88 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005693, allocations: 4 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.005808, allocations: 51.91 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.005884, allocations: 27.86 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.005914, allocations: 11.94 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.006115, allocations: 95.59 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.006118, allocations: 4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006119, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006123, allocations: 0 / 381 MB, free: 15.64 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.0005128/0.006636, allocations: 443.9 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.006676, allocations: 8.031 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.006735, allocations: 20.89 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.00691, allocations: 144.4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.006922, allocations: 4.375 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.006944, allocations: 384 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.007096, allocations: 66.94 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007108, allocations: 4.188 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007119, allocations: 4.125 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007127, allocations: 0 / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.007183, allocations: 15.92 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.007578, allocations: 295.7 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.007808, allocations: 59.02 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.007841, allocations: 11.69 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.007864, allocations: 7.984 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.00789, allocations: 41.33 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.007892, allocations: 0 / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008286/0.008721, allocations: 257.6 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.008759, allocations: 51.41 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.008928, allocations: 222.5 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008946, allocations: 29.7 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.009022, allocations: 146.8 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.009064, allocations: 39.69 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.009121, allocations: 31.36 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.009282, allocations: 0.5 MB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.009324, allocations: 12 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.009361, allocations: 15.98 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.009451, allocations: 51.89 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.009452, allocations: 4 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001575/0.00961, allocations: 93.52 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.009627, allocations: 8 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.009632, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.009646, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.009749, allocations: 27.98 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009755, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.009792, allocations: 4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.009802, allocations: 3.984 kB / 383.6 MB, free: 12.86 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 9.374e-05/0.009896, allocations: 172.5 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.009937, allocations: 11.95 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.01016, allocations: 110.3 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01016, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01016, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01017, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.01061, allocations: 416.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01062, allocations: 4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.0107, allocations: 19.98 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.01071, allocations: 8.062 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01072, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01072, allocations: 3.938 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01072, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.01094, allocations: 267.1 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.01096, allocations: 7.953 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01098, allocations: 192 / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.01106, allocations: 15.92 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.0111, allocations: 11.98 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01111, allocations: 4 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.01121, allocations: 168 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01121, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.01151, allocations: 24 kB / 384.8 MB, free: 11.53 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.001311/0.01282, allocations: 437.7 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01299, allocations: 63.53 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01299, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.01305, allocations: 39.83 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.01339, allocations: 32.05 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.01386, allocations: 258 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.01392, allocations: 71.33 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.01398, allocations: 12.48 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.01402, allocations: 20.5 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01402, allocations: 0 / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.004707/0.01873, allocations: 1.703 MB / 387.4 MB, free: 9.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.1244576857425272]