Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001903/0.001903, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.001944/0.001944, allocations: 165.3 kB / 24.28 MB, free: 156 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3299/0.3299, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.743e-05, allocations: 2.312 kB / 375.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003412/0.00344, allocations: 1.751 MB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.005455, allocations: 0.9933 MB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.005534, allocations: 7.938 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.005908, allocations: 103.6 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.006301, allocations: 139.4 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.006544, allocations: 75.67 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.006776, allocations: 127.6 kB / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.00687, allocations: 11.94 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.007019, allocations: 79.73 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.007145, allocations: 59.86 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.007169, allocations: 4 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.007306, allocations: 59.91 kB / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.007377, allocations: 35.84 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.007426, allocations: 23.88 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.007689, allocations: 139.6 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007693, allocations: 0 / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.007696, allocations: 4 kB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007701, allocations: 0 / 379 MB, free: 1.277 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007402/0.008441, allocations: 495.1 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.008485, allocations: 8.031 kB / 379.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.008564, allocations: 16.84 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.008857, allocations: 156.4 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.008873, allocations: 4.375 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.008893, allocations: 8.375 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.009047, allocations: 58.23 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.009062, allocations: 3.938 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.009071, allocations: 0 / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.009075, allocations: 0 / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.414e-05/0.009169, allocations: 27.91 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.009645, allocations: 315.7 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.009903, allocations: 66.97 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.009986, allocations: 23.88 kB / 380.1 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.009999, allocations: 3.984 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.01017, allocations: 81 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.01018, allocations: 0 / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008638/0.01104, allocations: 261.5 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.0111, allocations: 63.33 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.01141, allocations: 281.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01144, allocations: 25.7 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01157, allocations: 170.8 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.01163, allocations: 35.73 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.0117, allocations: 39.36 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.012, allocations: 0.5118 MB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.01208, allocations: 31.98 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01219, allocations: 55.3 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.01235, allocations: 79.36 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01235, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002624/0.01261, allocations: 133.5 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01263, allocations: 8 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01263, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01265, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.01274, allocations: 23.98 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01275, allocations: 4.031 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.0128, allocations: 4 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01281, allocations: 4 kB / 381.9 MB, free: 14.1 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 (13): * Single equations (assignments): 13 * 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 0.0001585/0.01297, allocations: 180.4 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01301, allocations: 19.86 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.01333, allocations: 143.3 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01334, allocations: 4 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01334, allocations: 0 / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01334, allocations: 0 / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.01403, allocations: 484.6 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01403, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.0141, allocations: 27.88 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.0141, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01411, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01412, allocations: 4 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.01412, allocations: 7.922 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.01449, allocations: 299.2 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.01452, allocations: 15.91 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01455, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.01463, allocations: 12.05 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.0147, allocations: 19.86 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.01472, allocations: 4 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.01493, allocations: 196.4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01493, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000312/0.01524, allocations: 31.94 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00391/0.01915, allocations: 0.543 MB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.01943, allocations: 83.59 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.01943, allocations: 8.062 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01956, allocations: 47.61 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.01997, allocations: 43.39 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.02059, allocations: 294 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.02075, allocations: 105 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.02082, allocations: 16.78 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.02087, allocations: 28.48 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02087, allocations: 0 / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of Templates: time 0.006438/0.02731, allocations: 2.123 MB / 386.6 MB, free: 9.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.118027820950374]