Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.00102/0.00102, 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.001143/0.001143, allocations: 170.2 kB / 24.82 MB, free: 9.262 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.9679/0.9679, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2592/0.2592, allocations: 32.81 MB / 294.6 MB, free: 1.215 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 3.938 kB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.487e-05, allocations: 6.25 kB / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002299/0.002324, allocations: 1.757 MB / 378.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003501, allocations: 0.9858 MB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.00358, allocations: 0 / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.003848, allocations: 55.69 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.004092, allocations: 99.47 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.004237, allocations: 79.59 kB / 379.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.004367, allocations: 103.7 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.004449, allocations: 7.984 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.004537, allocations: 59.77 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.004605, allocations: 23.91 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.00462, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.00469, allocations: 43.92 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.004734, allocations: 31.86 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.004767, allocations: 23.92 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004912, allocations: 95.66 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004914, allocations: 0 / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004915, allocations: 7.938 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.004918, allocations: 0 / 379.9 MB, free: 0.9102 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.0003831/0.005301, allocations: 455.7 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.005337, allocations: 12.03 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.00537, allocations: 12.89 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005517, allocations: 156.9 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.00553, allocations: 4.375 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005546, allocations: 8.359 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.005643, allocations: 58.94 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005653, allocations: 7.922 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.005659, allocations: 0 / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005665, allocations: 7.938 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.005688, allocations: 8 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.005938, allocations: 264.4 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.006019, allocations: 47.17 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.00604, allocations: 19.62 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.006056, allocations: 4 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.789e-05/0.006134, allocations: 64.97 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006135, allocations: 4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003267/0.006462, allocations: 141.4 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.006488, allocations: 55.41 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006598, allocations: 229.8 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.00661, allocations: 29.7 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.006663, allocations: 154.8 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.006688, allocations: 27.78 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.006718, allocations: 31.36 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.006895, allocations: 0.5001 MB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.006913, allocations: 8 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.006942, allocations: 31.3 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.006987, allocations: 51.28 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.006988, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.26e-05/0.007081, allocations: 89.47 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007092, allocations: 8 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007098, allocations: 4.031 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007109, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.00717, allocations: 15.98 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007174, allocations: 4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.0072, allocations: 0 / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007206, allocations: 4 kB / 382.4 MB, free: 14.21 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.065e-05/0.007276, allocations: 164.5 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.007292, allocations: 15.84 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.007439, allocations: 103.3 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007441, allocations: 4 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007443, allocations: 4 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.007446, allocations: 3.938 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.007696, allocations: 362 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007698, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.007727, allocations: 15.94 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007729, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007735, allocations: 4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007736, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007738, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.007862, allocations: 259.4 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.007873, allocations: 15.97 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007887, allocations: 4 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.007927, allocations: 4 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.007953, allocations: 7.984 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.007963, allocations: 0 / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.008028, allocations: 172.2 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008028, allocations: 0 / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.008185, allocations: 27.94 kB / 383.6 MB, free: 13 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.0009758/0.009161, allocations: 434.9 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.009403, allocations: 51.58 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009404, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.009437, allocations: 35.61 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.009648, allocations: 38.5 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.009957, allocations: 225.9 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.009995, allocations: 71.33 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.01003, allocations: 21.39 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.0101, allocations: 90.19 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0101, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.00358/0.01368, allocations: 2.045 MB / 386.5 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.887215661816299]