Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001002/0.001002, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001007/0.001007, allocations: 166.5 kB / 25.61 MB, free: 8.457 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.9367/0.9367, allocations: 177.1 MB / 206 MB, free: 4.461 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.1509/0.1509, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.243e-05, allocations: 9.406 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002642/0.002675, allocations: 1.746 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.003989, allocations: 0.9897 MB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.004089, allocations: 4 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.004387, allocations: 39.7 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.004722, allocations: 99.47 kB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.00495, allocations: 83.59 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.005126, allocations: 107.6 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.005234, allocations: 4 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.005334, allocations: 55.83 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.005412, allocations: 31.84 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.005427, allocations: 4 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.005519, allocations: 43.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.005565, allocations: 27.91 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.005597, allocations: 15.94 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.005764, allocations: 99.59 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005766, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005768, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005772, allocations: 0 / 380.7 MB, free: 22.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003659/0.006138, allocations: 451.8 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.006174, allocations: 15.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.006213, allocations: 8.891 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.006338, allocations: 148.4 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006353, allocations: 4.375 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.006368, allocations: 12.33 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.006465, allocations: 62.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.006475, allocations: 7.938 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.006482, allocations: 0 / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.006487, allocations: 0 / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.006514, allocations: 15.98 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.00673, allocations: 248.5 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.006816, allocations: 55.09 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.006838, allocations: 19.67 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.00685, allocations: 4 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.197e-05/0.006942, allocations: 68.98 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.006943, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003221/0.007265, allocations: 129.5 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.007301, allocations: 51.41 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.0074, allocations: 227.2 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.007409, allocations: 25.7 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.00745, allocations: 154.8 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.007477, allocations: 19.84 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007514, allocations: 31.36 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.0076, allocations: 0.5001 MB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.007624, allocations: 8 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.007656, allocations: 35.3 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.007708, allocations: 43.34 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.007709, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.007827, allocations: 97.53 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.00784, allocations: 7.938 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007846, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.007856, allocations: 4.031 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.007935, allocations: 19.98 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.007937, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.007974, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.007982, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.409e-05/0.008046, allocations: 164.5 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.008067, allocations: 19.84 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.008222, allocations: 103.1 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008224, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008227, allocations: 4.359 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.008231, allocations: 4 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.008487, allocations: 369.5 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.008491, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.008523, allocations: 8 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008526, allocations: 0 / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008533, allocations: 4 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008535, allocations: 0 / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.008537, allocations: 0 / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.008663, allocations: 251.4 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008676, allocations: 11.98 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.008696, allocations: 11.98 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.008762, allocations: 0 / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.008791, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.008806, allocations: 4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.008857, allocations: 164.1 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008857, allocations: 0 / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.009113, allocations: 20 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001037/0.01015, allocations: 445.5 kB / 384.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.01026, allocations: 47.61 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01027, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.0103, allocations: 31.77 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01061, allocations: 41.55 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.01096, allocations: 216.2 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.01099, allocations: 75.14 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01103, allocations: 21.09 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.0111, allocations: 90.19 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0111, allocations: 0 / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of Templates: time 0.004248/0.01535, allocations: 2.049 MB / 387.3 MB, free: 15.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.353186510037631]