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.001036/0.001036, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001278/0.001278, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9659/0.9659, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2435/0.2435, allocations: 32.8 MB / 294.6 MB, free: 1.242 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 1.392e-06/1.392e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.393e-05, allocations: 9.484 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002199/0.002223, allocations: 1.705 MB / 378.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.002918, allocations: 0.5452 MB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.002969, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.003163, allocations: 51.73 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.003381, allocations: 87.55 kB / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.003596, allocations: 135.6 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.003719, allocations: 91.69 kB / 379.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.003797, allocations: 12.22 kB / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.003864, allocations: 47.89 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.003937, allocations: 35.89 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.003949, allocations: 4 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.004025, allocations: 51.91 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.004084, allocations: 19.92 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.004105, allocations: 19.94 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004251, allocations: 91.66 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004253, allocations: 0 / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004255, allocations: 3.938 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004259, allocations: 4 kB / 379.4 MB, free: 1.453 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.0003633/0.004622, allocations: 439.9 kB / 379.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004656, allocations: 8.031 kB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.004688, allocations: 16.84 kB / 379.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.004797, allocations: 144.9 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.004807, allocations: 4.375 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.004822, allocations: 4.375 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.004921, allocations: 66.69 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00493, allocations: 3.984 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004937, allocations: 8 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004943, allocations: 0 / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.004968, allocations: 15.94 kB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.005196, allocations: 268.3 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.005324, allocations: 55.02 kB / 380.4 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.005341, allocations: 11.69 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.005363, allocations: 4 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.005381, allocations: 37.52 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.005382, allocations: 0 / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004878/0.00587, allocations: 217.3 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.005908, allocations: 51.41 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.006012, allocations: 216 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006022, allocations: 25.7 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.006074, allocations: 154.7 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.006102, allocations: 39.67 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.006134, allocations: 27.38 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.00625, allocations: 0.5078 MB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.006272, allocations: 11.98 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.00629, allocations: 12 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.006334, allocations: 35.67 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006335, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000101/0.006436, allocations: 89.53 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006448, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.006452, allocations: 3.938 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.006465, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.006533, allocations: 23.98 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.006536, allocations: 4.562 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.006563, allocations: 11.98 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.006571, allocations: 7.938 kB / 381.9 MB, free: 14.77 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 6.629e-05/0.006637, allocations: 152.6 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.006661, allocations: 15.95 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.006805, allocations: 110.7 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006808, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006809, allocations: 0 / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.006813, allocations: 3.984 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.007135, allocations: 385.2 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007137, allocations: 0 / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.007194, allocations: 23.98 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007196, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.007204, allocations: 4 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.007206, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.007209, allocations: 7.922 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.007359, allocations: 255.2 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.007371, allocations: 15.89 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.007385, allocations: 8.062 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.007426, allocations: 8 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.007459, allocations: 15.91 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.007465, allocations: 8 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.007519, allocations: 153.8 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.007519, allocations: 4 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.007687, allocations: 23.94 kB / 383.1 MB, free: 13.5 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.0008931/0.00858, allocations: 432.5 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.008688, allocations: 51.66 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.00869, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.008724, allocations: 39.61 kB / 383.6 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.0002239/0.008948, allocations: 31.11 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.009315, allocations: 252.2 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.009356, allocations: 71.33 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.009397, allocations: 16.61 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.009461, allocations: 86.19 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009462, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003281/0.01274, allocations: 1.755 MB / 385.8 MB, free: 10.91 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8160588410682976]