Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001478/0.001478, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009961/0.0009961, allocations: 165.4 kB / 24.56 MB, free: 16 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.9638/0.9638, allocations: 177.1 MB / 205 MB, free: 5.289 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.2732/0.2732, allocations: 32.81 MB / 294.3 MB, free: 1.164 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.916e-05, allocations: 6.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005897/0.005927, allocations: 1.768 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.01074, allocations: 1.005 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.01084, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.01115, allocations: 47.75 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.01149, allocations: 99.42 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.01172, allocations: 79.66 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.01189, allocations: 107.6 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.01198, allocations: 7.984 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.01207, allocations: 51.84 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.01214, allocations: 31.89 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.01216, allocations: 4 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.01226, allocations: 47.86 kB / 379.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.01231, allocations: 27.86 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.01235, allocations: 19.92 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.01255, allocations: 99.66 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01255, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01255, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.01256, allocations: 0 / 379.5 MB, free: 1.164 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.0004764/0.01303, allocations: 459.8 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01307, allocations: 8.031 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.01613, allocations: 12.89 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.01633, allocations: 160.8 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.01635, allocations: 12.36 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.01637, allocations: 384 / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.0165, allocations: 62.94 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01652, allocations: 3.938 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01653, allocations: 4 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01654, allocations: 0 / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.01657, allocations: 11.98 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.01689, allocations: 283.8 kB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.01702, allocations: 55.2 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.01707, allocations: 23.62 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.01708, allocations: 0 / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.0172, allocations: 69 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.0172, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004713/0.01767, allocations: 161.3 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.01771, allocations: 55.34 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.01789, allocations: 233.9 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.0179, allocations: 29.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.01798, allocations: 158.8 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.01801, allocations: 23.8 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.01806, allocations: 35.36 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01822, allocations: 0.4962 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.01825, allocations: 8 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.0183, allocations: 35.36 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.01838, allocations: 55.23 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01838, allocations: 3.984 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.01853, allocations: 85.64 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01855, allocations: 8 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01856, allocations: 384 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01857, allocations: 4.031 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.01867, allocations: 15.94 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.01867, allocations: 11.92 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.01871, allocations: 7.953 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.01872, allocations: 4 kB / 382 MB, free: 14.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 8.961e-05/0.01881, allocations: 168.5 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.01883, allocations: 7.953 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.01903, allocations: 111.2 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01903, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01903, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01904, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.01938, allocations: 400.9 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01938, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.01942, allocations: 8 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01943, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01943, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01944, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01944, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.01962, allocations: 259.4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.01964, allocations: 15.92 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.01965, allocations: 4 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.01972, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01975, allocations: 11.92 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.01977, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.01987, allocations: 180.1 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01987, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.02013, allocations: 27.92 kB / 383.2 MB, free: 13.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.001057/0.02119, allocations: 436.5 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.02132, allocations: 55.59 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02132, allocations: 4 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.02136, allocations: 31.62 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.02159, allocations: 36.2 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.02192, allocations: 229.8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.02197, allocations: 71.33 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.02201, allocations: 25.08 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.02204, allocations: 16.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.02204, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.004061/0.0261, allocations: 2.005 MB / 386.1 MB, free: 10.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.052848832216114]