Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009646/0.0009646, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001073/0.001073, allocations: 165 kB / 24.56 MB, free: 12 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 1.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.641 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.241/0.241, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.57e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002302/0.002327, allocations: 1.773 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003473, allocations: 1.009 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.003549, allocations: 3.938 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.003831, allocations: 43.75 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.004125, allocations: 111.4 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.004317, allocations: 75.67 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.004468, allocations: 111.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.004552, allocations: 8 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.004632, allocations: 51.84 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.004701, allocations: 31.89 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004716, allocations: 4 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.004798, allocations: 47.86 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.004849, allocations: 27.84 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.004886, allocations: 19.94 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.005056, allocations: 111.6 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.005059, allocations: 4 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00506, allocations: 0 / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005064, allocations: 0 / 379.5 MB, free: 1.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004602/0.005524, allocations: 475.6 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.005561, allocations: 8.031 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.005612, allocations: 24.83 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.00578, allocations: 169.2 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005797, allocations: 384 / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005815, allocations: 4.375 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.005937, allocations: 62.94 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005947, allocations: 7.938 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005958, allocations: 7.938 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005965, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.005998, allocations: 11.98 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.006312, allocations: 295.8 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.00642, allocations: 55.17 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.00645, allocations: 19.61 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006461, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.006563, allocations: 72.95 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006564, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003934/0.006957, allocations: 161.3 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.00699, allocations: 59.34 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.007404, allocations: 278.7 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.007416, allocations: 29.7 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.007476, allocations: 166.9 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.0075, allocations: 19.8 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.007536, allocations: 35.36 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.00764, allocations: 0.4962 MB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.007668, allocations: 15.98 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.0077, allocations: 31.38 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.007757, allocations: 55.23 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007759, allocations: 4 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.007868, allocations: 93.58 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007881, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.007885, allocations: 384 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.007899, allocations: 4 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.007977, allocations: 23.91 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.007984, allocations: 8.031 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.008012, allocations: 4 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.008018, allocations: 4 kB / 382.2 MB, free: 14.24 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.507e-05/0.008093, allocations: 160.5 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.008112, allocations: 23.89 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.008265, allocations: 111.2 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.00827, allocations: 7.984 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008273, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008276, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.008558, allocations: 409 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.008561, allocations: 7.922 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.008588, allocations: 8 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008591, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.0086, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008602, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008603, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.00874, allocations: 263.4 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.008753, allocations: 11.91 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.008771, allocations: 7.984 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.008813, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.008846, allocations: 15.95 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.008859, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.008952, allocations: 204.5 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008952, allocations: 0 / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.009129, allocations: 23.94 kB / 383.4 MB, free: 12.92 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.0008988/0.01003, allocations: 439.1 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01015, allocations: 51.61 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01015, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.01019, allocations: 35.67 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01042, allocations: 31.75 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.01078, allocations: 262.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01082, allocations: 75.33 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01086, allocations: 13.28 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.01089, allocations: 20.48 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01089, allocations: 64 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003781/0.01467, allocations: 2.03 MB / 386.4 MB, free: 10.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.133344534318894]