Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002142/0.002142, allocations: 84.34 kB / 20.95 MB, free: 3.445 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.002437/0.002437, allocations: 165.3 kB / 24.27 MB, free: 140 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.762/1.762, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3748/0.3748, allocations: 32.79 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.177e-05, allocations: 6.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00345/0.003482, allocations: 1.684 MB / 377 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004855, allocations: 0.5569 MB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.004925, allocations: 8 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.005267, allocations: 71.64 kB / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.005632, allocations: 103.6 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.006147, allocations: 179.5 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.006363, allocations: 99.67 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006465, allocations: 8.234 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.006564, allocations: 47.89 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.006689, allocations: 55.86 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.00671, allocations: 4 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.006834, allocations: 51.91 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.006924, allocations: 27.92 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.006974, allocations: 19.88 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.00722, allocations: 123.5 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.007228, allocations: 4 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.007229, allocations: 0 / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.007234, allocations: 0 / 378.3 MB, free: 1.906 MB / 346.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.0006783/0.007912, allocations: 353.5 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.007952, allocations: 8.031 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.00802, allocations: 16.84 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.008248, allocations: 150.1 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.008262, allocations: 4.312 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.008292, allocations: 8.375 kB / 378.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.008496, allocations: 70.22 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008508, allocations: 192 / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.008524, allocations: 4.125 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.008529, allocations: 0 / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.008686, allocations: 39.97 kB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.009196, allocations: 268.4 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.009465, allocations: 66.48 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.009557, allocations: 24.97 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.009579, allocations: 0 / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.009612, allocations: 38.59 kB / 379.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.009613, allocations: 0 / 379.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001684/0.0113, allocations: 425.4 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01135, allocations: 55.41 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.0116, allocations: 214.2 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.01163, allocations: 25.7 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.01175, allocations: 116 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.0118, allocations: 35.69 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.01186, allocations: 33.7 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.01204, allocations: 326.8 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.01221, allocations: 51.97 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01235, allocations: 59.89 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.01268, allocations: 124.9 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01268, allocations: 4 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004116/0.01309, allocations: 173.5 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01311, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01311, allocations: 4 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01313, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01326, allocations: 31.91 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01327, allocations: 0 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.01334, allocations: 12 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01335, allocations: 4 kB / 381 MB, free: 15.04 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 0.0001386/0.01349, allocations: 133.8 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.01354, allocations: 15.91 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/0.01408, allocations: 195 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01409, allocations: 4 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01409, allocations: 7.875 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01409, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.01494, allocations: 439.7 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01494, allocations: 0 / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01506, allocations: 35.92 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01506, allocations: 0 / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01508, allocations: 3.984 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.01509, allocations: 7.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01509, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.01556, allocations: 277.6 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.01559, allocations: 15.94 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01561, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01573, allocations: 19.92 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01578, allocations: 7.984 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01579, allocations: 7.938 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.01597, allocations: 168.2 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01597, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.01628, allocations: 27.94 kB / 382.3 MB, free: 13.62 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.002365/0.01865, allocations: 497.8 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.01907, allocations: 123.8 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01907, allocations: 8 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.01925, allocations: 67.83 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.01973, allocations: 23.98 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.02056, allocations: 339.2 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.0207, allocations: 109.9 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.02081, allocations: 32.45 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.02086, allocations: 20.48 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02086, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.006797/0.02766, allocations: 1.673 MB / 385.2 MB, free: 10.92 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 5.138215627055615]