Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001018/0.001018, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001187/0.001187, allocations: 165.4 kB / 25.61 MB, free: 8.582 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.9296/0.9296, allocations: 177.1 MB / 206 MB, free: 4.473 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.1359/0.1359, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.67e-05, allocations: 2.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.001987/0.002004, allocations: 1.926 MB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003295, allocations: 1.087 MB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.003397, allocations: 4 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.003745, allocations: 219.2 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.00408, allocations: 231 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.004289, allocations: 111.6 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.004491, allocations: 267.2 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.004582, allocations: 17.91 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004696, allocations: 147.6 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.004818, allocations: 151.7 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.004837, allocations: 8 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.004927, allocations: 67.91 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.004989, allocations: 71.69 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.005033, allocations: 51.73 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.005243, allocations: 187.3 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005246, allocations: 3.984 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005246, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005251, allocations: 0 / 383.9 MB, free: 18.77 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004753/0.005726, allocations: 0.6118 MB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005763, allocations: 12.03 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.005813, allocations: 32.75 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.005987, allocations: 224.5 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.006005, allocations: 4.375 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.006026, allocations: 20.3 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.006162, allocations: 102.3 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.006173, allocations: 7.922 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006183, allocations: 7.984 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.00619, allocations: 4 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.006229, allocations: 27.95 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.006511, allocations: 463.2 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.006686, allocations: 117.9 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.006718, allocations: 47.58 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.006729, allocations: 4 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.006838, allocations: 112.3 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.006839, allocations: 0 / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005835/0.007422, allocations: 362.1 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.007448, allocations: 85.11 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.0076, allocations: 394.1 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007614, allocations: 37.69 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.007675, allocations: 219.2 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.007713, allocations: 71.42 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.007753, allocations: 47.34 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.00781, allocations: 0.5235 MB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.007839, allocations: 27.92 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.007883, allocations: 86.67 kB / 387.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.007964, allocations: 114.8 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007965, allocations: 0 / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001658/0.00813, allocations: 185.3 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.008141, allocations: 4 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.008147, allocations: 0 / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008157, allocations: 4 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.008237, allocations: 39.92 kB / 387.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.00824, allocations: 4 kB / 387.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.008286, allocations: 19.88 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.008295, allocations: 4 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.894e-05/0.008364, allocations: 180.5 kB / 388 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.008394, allocations: 39.81 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.008597, allocations: 212.6 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.0086, allocations: 4 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.008602, allocations: 0 / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.008606, allocations: 7.922 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.008977, allocations: 0.6948 MB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008979, allocations: 8.031 kB / 389 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.009037, allocations: 27.98 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.009041, allocations: 7.938 kB / 389 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.009051, allocations: 8 kB / 389 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009052, allocations: 0 / 389 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009054, allocations: 7.938 kB / 389.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.009247, allocations: 0.4926 MB / 389.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.009268, allocations: 31.7 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.009292, allocations: 8 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.009367, allocations: 19.92 kB / 389.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.009404, allocations: 23.91 kB / 389.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.009419, allocations: 8 kB / 389.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.009509, allocations: 258.9 kB / 389.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00951, allocations: 0 / 389.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.009737, allocations: 51.92 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009291/0.01067, allocations: 0.4944 MB / 390.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01081, allocations: 111.5 kB / 390.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01081, allocations: 0 / 390.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.01087, allocations: 75.5 kB / 390.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.0112, allocations: 70.08 kB / 390.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.01163, allocations: 499.6 kB / 391.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01168, allocations: 108.1 kB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.01174, allocations: 33.94 kB / 391.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.01183, allocations: 122.2 kB / 391.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01183, allocations: 0 / 391.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Templates: time 0.004601/0.01643, allocations: 3.744 MB / 395.2 MB, free: 7.289 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.197600170969963]