Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001103/0.001103, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.000901/0.000901, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9914/0.9914, allocations: 177.1 MB / 205 MB, free: 5.285 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.2856/0.2856, allocations: 34.26 MB / 295.7 MB, free: 0.6523 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.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.861e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002524/0.002552, allocations: 1.761 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003762, allocations: 1.013 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.003834, allocations: 3.938 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.0041, allocations: 43.7 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.004377, allocations: 95.48 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.004545, allocations: 75.66 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004697, allocations: 119.5 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.00478, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.004865, allocations: 55.84 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.004931, allocations: 31.89 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004945, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.005024, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.005072, allocations: 19.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.00511, allocations: 23.86 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.005276, allocations: 99.59 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.005281, allocations: 7.984 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005281, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005286, allocations: 0 / 381.5 MB, free: 15.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004239/0.005709, allocations: 443.9 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.005744, allocations: 12.03 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.005794, allocations: 20.83 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005962, allocations: 157 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.005979, allocations: 384 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.006002, allocations: 8.375 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.006126, allocations: 58.94 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006135, allocations: 7.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.006144, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006151, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.006186, allocations: 11.98 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.006494, allocations: 283.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.006606, allocations: 59.09 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.006639, allocations: 19.62 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.006654, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.784e-05/0.006752, allocations: 69.05 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006753, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003719/0.007125, allocations: 157.4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.007156, allocations: 55.34 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.007287, allocations: 238.3 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.007302, allocations: 33.69 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.007357, allocations: 150.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.007383, allocations: 27.78 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.007415, allocations: 27.38 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007525, allocations: 0.4962 MB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.007556, allocations: 11.98 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.007592, allocations: 35.36 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.007652, allocations: 55.36 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007653, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000108/0.007761, allocations: 93.53 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.007774, allocations: 7.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.007781, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007796, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.007861, allocations: 15.94 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007866, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.007892, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.0079, allocations: 7.984 kB / 384.1 MB, free: 12.38 MB / 362.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 7.246e-05/0.007972, allocations: 160.5 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.007986, allocations: 15.98 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.008132, allocations: 107.1 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.008134, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.008137, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00814, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.008406, allocations: 396.9 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008407, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.008433, allocations: 11.98 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008435, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008443, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.008445, allocations: 4.031 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.008446, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.008594, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.008609, allocations: 15.91 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.008626, allocations: 384 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.008664, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.008697, allocations: 15.86 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.008713, allocations: 12 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.008787, allocations: 172.1 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008787, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.008961, allocations: 31.94 kB / 385.2 MB, free: 11.11 MB / 362.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.0008824/0.009843, allocations: 435.5 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.009954, allocations: 51.59 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009955, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.009993, allocations: 27.67 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01022, allocations: 35.3 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.01055, allocations: 230 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.01059, allocations: 67.33 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.01063, allocations: 12.97 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.01066, allocations: 16.5 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01066, allocations: 0 / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003574/0.01423, allocations: 1.869 MB / 388 MB, free: 8.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.346068704035133]