Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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: 71.77 kB / 21.69 MB, free: 2.855 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.0009932/0.0009932, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2764/0.2764, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.549e-05, allocations: 9.688 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002022/0.002037, allocations: 1.708 MB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003297, allocations: 1.282 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.003346, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.00352, allocations: 35.72 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.00376, allocations: 91.47 kB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.00394, allocations: 119.7 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.004061, allocations: 79.75 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.00414, allocations: 8 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.004206, allocations: 47.83 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.004286, allocations: 23.97 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.0043, allocations: 7.938 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.004412, allocations: 91.81 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.004466, allocations: 31.84 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.004489, allocations: 8 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.004671, allocations: 139.5 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004672, allocations: 0 / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004673, allocations: 4 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004677, allocations: 0 / 381.7 MB, free: 15.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003771/0.005054, allocations: 435.9 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.005084, allocations: 12.03 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.005126, allocations: 12.89 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005265, allocations: 132.5 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.005274, allocations: 384 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005293, allocations: 4.375 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.00542, allocations: 108 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.005428, allocations: 4.125 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.00544, allocations: 12.11 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005446, allocations: 3.938 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.005476, allocations: 4 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.005727, allocations: 291.7 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.005788, allocations: 35.16 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.005813, allocations: 23.55 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.005831, allocations: 4 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.005851, allocations: 37.39 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005852, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003514/0.006203, allocations: 125.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.006237, allocations: 77.11 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006348, allocations: 203.8 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.006358, allocations: 29.7 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.006404, allocations: 142.8 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.006423, allocations: 19.84 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.00645, allocations: 27.38 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003618/0.006812, allocations: 0.4923 MB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.00683, allocations: 4 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.006868, allocations: 57.12 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.006916, allocations: 47.62 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006917, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.381e-05/0.007, allocations: 65.64 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007013, allocations: 16.02 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.007016, allocations: 0 / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.007028, allocations: 0 / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.007103, allocations: 15.98 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007107, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.007131, allocations: 4 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007136, allocations: 4 kB / 384.1 MB, free: 12.63 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 (7): * Single equations (assignments): 7 * 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 6.215e-05/0.007199, allocations: 164.5 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.00722, allocations: 15.91 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.007333, allocations: 82.38 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007334, allocations: 4 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007337, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007339, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.007563, allocations: 345.3 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.007564, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.0076, allocations: 15.98 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007603, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.007608, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00761, allocations: 3.984 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007611, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007716, allocations: 224.2 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.007724, allocations: 7.953 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.007738, allocations: 7.938 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.007776, allocations: 7.984 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.007805, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.00781, allocations: 3.984 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.007865, allocations: 149 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007865, allocations: 4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.008045, allocations: 39.86 kB / 385.2 MB, free: 11.49 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0008751/0.00892, allocations: 488.9 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.009027, allocations: 47.66 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009028, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.009058, allocations: 31.77 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.009257, allocations: 31.84 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.009564, allocations: 186.4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.009605, allocations: 63.34 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.009645, allocations: 11.98 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.009678, allocations: 24.48 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009679, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003195/0.01287, allocations: 1.969 MB / 388 MB, free: 8.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.2497413579840213]