Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.000929/0.000929, 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.0009944/0.0009944, 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2718/0.2718, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.595e-05, allocations: 6.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002188/0.002204, allocations: 1.722 MB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003422, allocations: 0.9936 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.0035, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.003835, allocations: 71.67 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.004157, allocations: 111.5 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.004336, allocations: 71.67 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.004522, allocations: 111.6 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.004568, allocations: 8.234 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.004681, allocations: 55.81 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.004781, allocations: 43.89 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.004797, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.004881, allocations: 31.94 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.004939, allocations: 27.91 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.00498, allocations: 19.86 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005155, allocations: 87.67 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005157, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005158, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.005163, allocations: 3.984 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005102/0.005673, allocations: 435.9 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005711, allocations: 8.031 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.005762, allocations: 16.84 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.005939, allocations: 153.1 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.005958, allocations: 4.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.005969, allocations: 4.375 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.006086, allocations: 62.88 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006095, allocations: 3.938 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006106, allocations: 3.984 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.006113, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.006145, allocations: 11.98 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.006297, allocations: 136.7 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.006414, allocations: 47.11 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.006452, allocations: 27.61 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006465, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.64e-05/0.006562, allocations: 61.05 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.006563, allocations: 7.938 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001934/0.006756, allocations: 81.53 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.006789, allocations: 55.34 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.006923, allocations: 234.4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.006936, allocations: 29.7 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.00699, allocations: 150.9 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.007022, allocations: 15.84 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.007052, allocations: 31.36 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.007178, allocations: 0.4962 MB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.007198, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.007228, allocations: 27.38 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.007282, allocations: 43.61 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007285, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.106e-05/0.007376, allocations: 69.58 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.007389, allocations: 8 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007395, allocations: 3.938 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.007409, allocations: 4.031 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.007477, allocations: 8 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.007485, allocations: 7.938 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.007519, allocations: 7.938 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.007528, allocations: 8 kB / 383.7 MB, free: 12.72 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 (7): * Single equations (assignments): 7 * 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.989e-05/0.007608, allocations: 156.6 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.007621, allocations: 7.953 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.007747, allocations: 90.92 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007749, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007752, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007755, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.664e-05/0.007851, allocations: 144.6 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007853, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.007871, allocations: 7.938 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007873, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.00788, allocations: 4 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007882, allocations: 3.938 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007884, allocations: 3.984 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/0.007979, allocations: 120.5 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.007994, allocations: 11.95 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.008009, allocations: 7.938 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.008029, allocations: 3.938 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.008064, allocations: 7.984 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.008075, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.008156, allocations: 172.2 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008156, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.008306, allocations: 19.92 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008388/0.009145, allocations: 387.4 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.009256, allocations: 35.67 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009257, allocations: 0 / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.009288, allocations: 23.62 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00947, allocations: 31.84 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.009776, allocations: 202.2 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.009812, allocations: 63.34 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.009843, allocations: 12.48 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.00987, allocations: 12.5 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009871, allocations: 0 / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003395/0.01327, allocations: 1.758 MB / 387 MB, free: 9.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.2684005037881434]