Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001915/0.001915, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002285/0.002285, allocations: 165.3 kB / 24.27 MB, free: 148 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.576/1.576, 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.3511/0.3511, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.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.Test24,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.532e-05, allocations: 9.484 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003802/0.003837, allocations: 1.67 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.005203, allocations: 0.5335 MB / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.005286, allocations: 8 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.0056, allocations: 43.81 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.006014, allocations: 95.52 kB / 377.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.006441, allocations: 127.6 kB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.006675, allocations: 87.75 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.006786, allocations: 16.17 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.006905, allocations: 47.88 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.007039, allocations: 39.89 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.007057, allocations: 7.938 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.00721, allocations: 47.92 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.007308, allocations: 23.91 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.007349, allocations: 11.94 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.007614, allocations: 107.7 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007618, allocations: 0 / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007618, allocations: 0 / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.007624, allocations: 4 kB / 378.2 MB, free: 2.066 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.0006643/0.008288, allocations: 345.5 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.008329, allocations: 8.031 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.008407, allocations: 16.84 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.008637, allocations: 134.2 kB / 378.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.008653, allocations: 4.375 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.008688, allocations: 8.328 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.008909, allocations: 73.89 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.008921, allocations: 0 / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008931, allocations: 8 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.008936, allocations: 0 / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.009103, allocations: 39.97 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.009562, allocations: 236.4 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.009859, allocations: 54.55 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.00995, allocations: 24.97 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.00999, allocations: 0 / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.01003, allocations: 38.56 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.01003, allocations: 0 / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001703/0.01173, allocations: 389.5 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.01178, allocations: 51.41 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.01202, allocations: 174.5 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.01205, allocations: 33.7 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.01214, allocations: 104.1 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.01219, allocations: 47.56 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.01226, allocations: 21.72 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.01247, allocations: 322.8 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.01262, allocations: 43.97 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01275, allocations: 43.95 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.01304, allocations: 100.9 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01305, allocations: 4 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003625/0.01341, allocations: 145.4 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.01343, allocations: 8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.01344, allocations: 3.984 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.01346, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01359, allocations: 27.98 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.0136, allocations: 4 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.01367, allocations: 15.92 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.01368, allocations: 0 / 380.6 MB, free: 15.41 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.0001305/0.01381, allocations: 129.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.01387, allocations: 11.94 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.01431, allocations: 162.8 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01431, allocations: 8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01432, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01432, allocations: 7.875 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/0.01505, allocations: 399.7 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01505, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01517, allocations: 27.97 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.01517, allocations: 8.062 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01519, allocations: 3.938 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01519, allocations: 3.938 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01519, allocations: 4 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.01569, allocations: 253.2 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01571, allocations: 11.91 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.01575, allocations: 7.938 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01585, allocations: 15.98 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.0159, allocations: 7.984 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.01591, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.01605, allocations: 151 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01605, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.01634, allocations: 27.92 kB / 381.9 MB, free: 14.11 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.002304/0.01864, allocations: 484 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.01901, allocations: 103.8 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01901, allocations: 0 / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.01918, allocations: 68.02 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.01958, allocations: 19.92 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.02028, allocations: 280.7 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.0204, allocations: 100.7 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.026e-05/0.02047, allocations: 16.48 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.02052, allocations: 16.5 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02052, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005371/0.02589, allocations: 1.58 MB / 384.5 MB, free: 11.65 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.843477240065113]