Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001712/0.001712, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.00138/0.00138, allocations: 170.4 kB / 25.61 MB, free: 8.914 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.9832/0.9832, allocations: 177.1 MB / 206 MB, free: 4.5 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.1415/0.1415, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.771e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002005/0.002023, allocations: 1.713 MB / 379 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006582/0.002681, allocations: 0.553 MB / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.002739, allocations: 0 / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.002923, allocations: 27.78 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.003193, allocations: 79.56 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.003435, allocations: 135.6 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003579, allocations: 99.62 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.00367, allocations: 11.92 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.003751, allocations: 51.89 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.003819, allocations: 35.89 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003834, allocations: 8 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.003967, allocations: 99.81 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.004022, allocations: 19.92 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.004042, allocations: 19.97 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004219, allocations: 159.4 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004222, allocations: 3.984 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004222, allocations: 0 / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004227, allocations: 0 / 380.3 MB, free: 22.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003615/0.004588, allocations: 459.8 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.004621, allocations: 11.98 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.004659, allocations: 20.83 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004775, allocations: 141 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.004784, allocations: 4.375 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.004801, allocations: 384 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.004921, allocations: 119.8 kB / 381 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.00493, allocations: 3.984 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.004937, allocations: 0 / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004942, allocations: 0 / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.004967, allocations: 15.94 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.005199, allocations: 276.4 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.005272, allocations: 47.06 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.005289, allocations: 19.61 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.005304, allocations: 3.938 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.005321, allocations: 37.52 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.005322, allocations: 0 / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003752/0.005698, allocations: 153.3 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.005721, allocations: 77.11 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.005796, allocations: 212.8 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005804, allocations: 25.7 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.005839, allocations: 138.9 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.005863, allocations: 35.72 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005897, allocations: 31.36 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.005947, allocations: 0.5 MB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.005968, allocations: 11.92 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.006001, allocations: 61.09 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.006041, allocations: 31.67 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006042, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.515e-05/0.006127, allocations: 85.47 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006138, allocations: 8.031 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.006142, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.006151, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.006235, allocations: 35.91 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006237, allocations: 0 / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.006279, allocations: 11.98 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006285, allocations: 3.938 kB / 382.8 MB, free: 19.77 MB / 314.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 (10): * Single equations (assignments): 10 * 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 4.559e-05/0.006331, allocations: 160.6 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.006355, allocations: 15.95 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006456, allocations: 90.36 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006459, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00646, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006463, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.006671, allocations: 337.9 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006673, allocations: 0 / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.00673, allocations: 27.97 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006732, allocations: 3.938 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006739, allocations: 4.375 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00674, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.006743, allocations: 7.938 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.679e-05/0.00684, allocations: 219.8 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.00685, allocations: 15.92 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.006862, allocations: 0 / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.006916, allocations: 15.98 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.006955, allocations: 15.92 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006959, allocations: 0 / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.006995, allocations: 150 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006995, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.007191, allocations: 59.8 kB / 383.9 MB, free: 18.59 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 (9): * Single equations (assignments): 9 * 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.0009278/0.008119, allocations: 498 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.008224, allocations: 39.61 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008226, allocations: 4 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.008257, allocations: 35.59 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.008464, allocations: 30.64 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.00873, allocations: 211 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.507e-05/0.008755, allocations: 71.33 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.0088, allocations: 12.5 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.008872, allocations: 98.17 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008873, allocations: 0 / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003901/0.01277, allocations: 2.995 MB / 387.9 MB, free: 14.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.2136321873404086]