Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001068/0.001068, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001257/0.001257, allocations: 172.3 kB / 25.61 MB, free: 8.883 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.9819/0.9819, allocations: 177.1 MB / 206 MB, free: 4.492 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.1439/0.1439, allocations: 32.8 MB / 295.4 MB, free: 15.49 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.399e-05, allocations: 2.312 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002369/0.002393, allocations: 1.739 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.00408, allocations: 1.718 MB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.004173, allocations: 3.938 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.004446, allocations: 35.7 kB / 380.9 MB, free: 22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.004776, allocations: 107.5 kB / 381 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.004972, allocations: 83.53 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.005108, allocations: 111.6 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.005197, allocations: 4 kB / 381.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.005284, allocations: 71.75 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005386, allocations: 31.89 kB / 381.3 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.005403, allocations: 8 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.005558, allocations: 95.88 kB / 381.4 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.005601, allocations: 23.92 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.005629, allocations: 15.94 kB / 381.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.005825, allocations: 163.4 kB / 381.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005828, allocations: 0 / 381.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005829, allocations: 0 / 381.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005833, allocations: 0 / 381.6 MB, free: 21.3 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.0003593/0.006192, allocations: 459.8 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.006223, allocations: 19.92 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.006265, allocations: 12.89 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.0064, allocations: 157 kB / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.006415, allocations: 384 / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.006431, allocations: 4.375 kB / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.006551, allocations: 119.3 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00656, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.006568, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.006573, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.006603, allocations: 11.98 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.006824, allocations: 260.4 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.006902, allocations: 59.03 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.006921, allocations: 19.67 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.006932, allocations: 0 / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.89e-05/0.007011, allocations: 65.05 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.007012, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000286/0.007298, allocations: 137.4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.007321, allocations: 77.11 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.007402, allocations: 208.7 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.007411, allocations: 37.69 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.00744, allocations: 142.9 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.00746, allocations: 23.83 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.00749, allocations: 31.31 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.007534, allocations: 0.4961 MB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.007557, allocations: 11.98 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.007588, allocations: 64.77 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.007629, allocations: 43.34 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00763, allocations: 0 / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.719e-05/0.007717, allocations: 89.61 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00773, allocations: 6.031 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007734, allocations: 0 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.007743, allocations: 0 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.0078, allocations: 23.92 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007803, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.007833, allocations: 11.89 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.007839, allocations: 4.312 kB / 384.1 MB, free: 18.5 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 5.023e-05/0.007889, allocations: 168.5 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.007904, allocations: 15.98 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.008018, allocations: 98.53 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008021, allocations: 0 / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008023, allocations: 4 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008027, allocations: 3.984 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.00823, allocations: 361.6 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008231, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.008256, allocations: 15.98 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.008257, allocations: 0 / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.008263, allocations: 0 / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008264, allocations: 8.031 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008265, allocations: 0 / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.008365, allocations: 251.4 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.008377, allocations: 11.94 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008394, allocations: 11.98 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.008439, allocations: 0 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.008475, allocations: 11.97 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.008487, allocations: 11.94 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.008526, allocations: 150.4 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008526, allocations: 0 / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.008726, allocations: 51.8 kB / 385.3 MB, free: 17.28 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.001081/0.009807, allocations: 0.5404 MB / 385.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.009916, allocations: 47.61 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009918, allocations: 4 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.009948, allocations: 27.66 kB / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01016, allocations: 38.72 kB / 385.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.01045, allocations: 203.6 kB / 386.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.475e-05/0.01047, allocations: 67.47 kB / 386.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01052, allocations: 21.27 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.01058, allocations: 98.17 kB / 386.3 MB, free: 16.39 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01058, allocations: 4 kB / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of Templates: time 0.004019/0.0146, allocations: 2.803 MB / 389.1 MB, free: 13.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.27254236722365]