Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001076/0.001076, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003476/0.003476, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8846/0.8846, allocations: 177.1 MB / 205 MB, free: 5.727 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.2367/0.2367, allocations: 32.8 MB / 294.2 MB, free: 1.207 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.124e-05, allocations: 2.844 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00202/0.002042, allocations: 1.718 MB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003064, allocations: 0.9703 MB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.003107, allocations: 4 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.003247, allocations: 43.69 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.003421, allocations: 95.48 kB / 443.8 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.003525, allocations: 75.61 kB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003628, allocations: 111.7 kB / 443.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.003674, allocations: 7.938 kB / 443.9 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.003731, allocations: 63.81 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.003771, allocations: 19.92 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.003781, allocations: 4 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.003833, allocations: 43.92 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.003864, allocations: 27.84 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.003887, allocations: 15.94 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.004014, allocations: 123.5 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.004015, allocations: 0 / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.004017, allocations: 4 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.00402, allocations: 0 / 444.2 MB, free: 328 kB / 410.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.18/0.184, allocations: 331.9 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.184, allocations: 13.3 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.1841, allocations: 10.52 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1843, allocations: 147 kB / 444.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1843, allocations: 4.312 kB / 444.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1843, allocations: 6.969 kB / 444.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1845, allocations: 56.95 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1845, allocations: 2.297 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1845, allocations: 2.625 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1845, allocations: 1.594 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.1845, allocations: 22.41 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.1848, allocations: 235.5 kB / 445.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1849, allocations: 55.83 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.185, allocations: 23.48 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.185, allocations: 0 / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.1851, allocations: 74.38 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1851, allocations: 0 / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004381/0.1855, allocations: 186.9 kB / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1856, allocations: 56.88 kB / 445.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1857, allocations: 179.9 kB / 445.6 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.1857, allocations: 29.58 kB / 445.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.1857, allocations: 106.5 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1857, allocations: 25.48 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.1858, allocations: 25.14 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.1858, allocations: 323.3 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.1859, allocations: 20.28 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.1859, allocations: 35.73 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.186, allocations: 63.88 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.186, allocations: 5.938 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001478/0.1861, allocations: 114.3 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1862, allocations: 5.875 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1862, allocations: 0 / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1862, allocations: 3.469 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1863, allocations: 21.3 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1863, allocations: 0 / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.1863, allocations: 8.422 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1863, allocations: 2.625 kB / 446.4 MB, free: 45.58 MB / 410.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.774e-05/0.1864, allocations: 122 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.1864, allocations: 16.89 kB / 446.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1866, allocations: 126.3 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1866, allocations: 2.812 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1866, allocations: 1.812 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1866, allocations: 3.188 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1869, allocations: 349.9 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1869, allocations: 2.594 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.1869, allocations: 8 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1869, allocations: 0 / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1869, allocations: 6.625 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1869, allocations: 6.75 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1869, allocations: 2.688 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.187, allocations: 209.4 kB / 447.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.187, allocations: 13.91 kB / 447.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.187, allocations: 6.75 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.1871, allocations: 2.656 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1871, allocations: 8.969 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1871, allocations: 2.562 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.1872, allocations: 152.8 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1872, allocations: 1.688 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.1873, allocations: 22.61 kB / 447.4 MB, free: 44.85 MB / 410.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.0007264/0.1881, allocations: 498.2 kB / 447.9 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1882, allocations: 61.45 kB / 448 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1882, allocations: 8 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.1882, allocations: 26.94 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1885, allocations: 34.16 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1888, allocations: 243.1 kB / 448.3 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.1888, allocations: 92.53 kB / 448.4 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1889, allocations: 14.62 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1889, allocations: 10.86 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002458/0.1913, allocations: 1.982 MB / 450.4 MB, free: 44.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.00066092889756]