Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001392/0.001392, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001559/0.001559, allocations: 161 kB / 24.56 MB, free: 16 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 0.9617/0.9617, allocations: 177.1 MB / 205 MB, free: 5.629 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.2387/0.2387, 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.475e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002027/0.002042, allocations: 1.701 MB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.00351, allocations: 1.32 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.003564, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.003764, allocations: 23.86 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.004046, allocations: 87.48 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004328, allocations: 171.5 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.004461, allocations: 87.69 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.004545, allocations: 12 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.004606, allocations: 39.89 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.004689, allocations: 31.91 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004704, allocations: 4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.004829, allocations: 99.75 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.004881, allocations: 23.91 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.004908, allocations: 12 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005098, allocations: 143.5 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.0051, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005101, allocations: 4 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005105, allocations: 4 kB / 381.8 MB, free: 14.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003789/0.005484, allocations: 439.9 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.005518, allocations: 8.031 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.005564, allocations: 8.891 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005699, allocations: 144.4 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.005707, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.005729, allocations: 384 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.005869, allocations: 112 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.005877, allocations: 4.188 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.005888, allocations: 8.125 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.005895, allocations: 0 / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.005927, allocations: 11.98 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.006212, allocations: 291.7 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.006278, allocations: 39 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.006302, allocations: 19.7 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.00632, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.00634, allocations: 41.39 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.006341, allocations: 4 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003752/0.006716, allocations: 125.4 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.00675, allocations: 81.11 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.006863, allocations: 199.9 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.006873, allocations: 25.7 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.006923, allocations: 142.9 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.006944, allocations: 27.75 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.006975, allocations: 23.38 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.007077, allocations: 0.4923 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.0071, allocations: 8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.00714, allocations: 65.12 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.007188, allocations: 43.55 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007188, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.205e-05/0.00727, allocations: 65.92 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.00728, allocations: 4 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007284, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007299, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.007373, allocations: 19.98 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007379, allocations: 4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.007406, allocations: 15.92 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007411, allocations: 4.031 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.885e-05/0.00748, allocations: 164.5 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.007503, allocations: 11.95 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.007624, allocations: 78.44 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.007625, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007629, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007632, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.007881, allocations: 345.3 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007882, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.007921, allocations: 15.98 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007923, allocations: 4 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.007928, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.00793, allocations: 4.469 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007931, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.008047, allocations: 227.7 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.008055, allocations: 3.953 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008068, allocations: 11.98 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.008106, allocations: 4 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.008135, allocations: 3.984 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.008139, allocations: 4 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.008197, allocations: 153.4 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008197, allocations: 0 / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.008379, allocations: 43.86 kB / 385.3 MB, free: 11.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008814/0.009261, allocations: 495.4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.009366, allocations: 43.64 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.00937, allocations: 3.938 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.009402, allocations: 27.67 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.009602, allocations: 27.88 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.009919, allocations: 196.8 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.009956, allocations: 67.33 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.01001, allocations: 20.72 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01004, allocations: 20.48 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01004, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.00361/0.01365, allocations: 2.012 MB / 388.2 MB, free: 8.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.2551554101519287]