Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009098/0.0009098, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009629/0.0009629, allocations: 166.5 kB / 24.82 MB, free: 9.266 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.9347/0.9347, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2528/0.2528, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.641e-05, allocations: 10.25 kB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002013/0.002029, allocations: 1.762 MB / 378.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003141, allocations: 0.9926 MB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.003213, allocations: 0 / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.003462, allocations: 43.72 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.003722, allocations: 99.47 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.003887, allocations: 83.59 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.004032, allocations: 107.7 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.004115, allocations: 8 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.004203, allocations: 59.77 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.004271, allocations: 23.91 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004286, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.004367, allocations: 47.92 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004409, allocations: 23.86 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.004443, allocations: 19.92 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.0046, allocations: 107.6 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004602, allocations: 0 / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004603, allocations: 0 / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004606, allocations: 0 / 379.9 MB, free: 0.9141 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.0003705/0.004977, allocations: 443.9 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.00501, allocations: 8.031 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.005046, allocations: 20.83 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.005173, allocations: 153.1 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.005186, allocations: 4.312 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.005201, allocations: 8.375 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.403e-05/0.005295, allocations: 62.88 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005304, allocations: 3.938 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.00531, allocations: 0 / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005316, allocations: 4 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.005341, allocations: 11.98 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.005613, allocations: 264.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.005692, allocations: 51.11 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.005712, allocations: 19.67 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.005726, allocations: 4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/0.005802, allocations: 68.95 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005803, allocations: 4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002738/0.006077, allocations: 129.5 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.0061, allocations: 55.41 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.00621, allocations: 230.3 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.00622, allocations: 25.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.006272, allocations: 154.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.006296, allocations: 27.78 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.006328, allocations: 35.36 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003742/0.006702, allocations: 0.4962 MB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.006718, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.006745, allocations: 35.3 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.006787, allocations: 39.36 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006789, allocations: 7.984 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.356e-05/0.006882, allocations: 89.47 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.006892, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.006896, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006907, allocations: 8.031 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.00696, allocations: 12 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.006964, allocations: 3.984 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.006992, allocations: 8 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.006997, allocations: 0 / 382.4 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 6.854e-05/0.007065, allocations: 160.5 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.007084, allocations: 23.84 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.007211, allocations: 103.2 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007213, allocations: 3.938 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007214, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007217, allocations: 4 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.007468, allocations: 366 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00747, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.007495, allocations: 12 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007498, allocations: 4 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.007503, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007504, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007505, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.007628, allocations: 259.4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.007638, allocations: 7.984 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007653, allocations: 7.984 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.007694, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.007717, allocations: 11.98 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.007726, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.007789, allocations: 164.1 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007789, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.007956, allocations: 27.92 kB / 383.5 MB, free: 13.03 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.0008127/0.008768, allocations: 437.1 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.008853, allocations: 43.67 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008854, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.008889, allocations: 39.59 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.009098, allocations: 39.61 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.009379, allocations: 210 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.00942, allocations: 75.33 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.009458, allocations: 21.34 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.009526, allocations: 86.19 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009527, allocations: 4 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003412/0.01294, allocations: 2.049 MB / 386.5 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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: 2.9279407570138574]