Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001395/0.001395, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001459/0.001459, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2104/0.2104, allocations: 34.28 MB / 294.9 MB, free: 14.58 MB / 286.1 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.03e-05/4.16e-05, allocations: 10.22 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00295/0.002992, allocations: 1.623 MB / 444.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004085, allocations: 0.5453 MB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.004142, allocations: 0 / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.004769, allocations: 459 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004771/0.005246, allocations: 295.2 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.005669, allocations: 169.6 kB / 445.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.005919, allocations: 175.6 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.006014, allocations: 15.92 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.006162, allocations: 119.8 kB / 446.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.006436, allocations: 251.5 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.00646, allocations: 4 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.006528, allocations: 20 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.006629, allocations: 83.7 kB / 446.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.006691, allocations: 35.75 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.006991, allocations: 239.1 kB / 446.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006993, allocations: 0 / 446.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006994, allocations: 4 kB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.006999, allocations: 0 / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007538/0.007753, allocations: 0.5738 MB / 447.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.007788, allocations: 8.031 kB / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.00786, allocations: 48.59 kB / 447.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.008149, allocations: 246 kB / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.008159, allocations: 384 / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.00817, allocations: 4.375 kB / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.008332, allocations: 58.17 kB / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00834, allocations: 192 / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.008351, allocations: 8.125 kB / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.008356, allocations: 4 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.008488, allocations: 31.97 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.2254, allocations: 330.6 kB / 448 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.2258, allocations: 47.89 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2259, allocations: 25.95 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.2259, allocations: 5.734 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.226, allocations: 32.14 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.537e-06/0.226, allocations: 0 / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006555/0.2266, allocations: 133.3 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2267, allocations: 52.53 kB / 448.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.2285, allocations: 0.8665 MB / 449.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2285, allocations: 25.7 kB / 449.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.2287, allocations: 214.9 kB / 449.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.2287, allocations: 11.55 kB / 449.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2288, allocations: 13.67 kB / 449.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2289, allocations: 365.4 kB / 449.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.229, allocations: 19.34 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.2291, allocations: 17.91 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2293, allocations: 47.58 kB / 449.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2293, allocations: 0 / 449.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003365/0.2297, allocations: 115.3 kB / 449.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2297, allocations: 4.312 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2297, allocations: 1.594 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2297, allocations: 1.375 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2298, allocations: 10.77 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2299, allocations: 3.844 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.23, allocations: 9.422 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.23, allocations: 1.094 kB / 450 MB, free: 18.41 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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 0.0002843/0.2303, allocations: 221.7 kB / 450.2 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.2304, allocations: 42.12 kB / 450.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.2308, allocations: 122.8 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2308, allocations: 0.5156 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2308, allocations: 1.094 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2308, allocations: 1.734 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.2312, allocations: 245.2 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2312, allocations: 3.312 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.2313, allocations: 10.02 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2313, allocations: 0.7031 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2313, allocations: 1.125 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2313, allocations: 0.5625 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2313, allocations: 2.516 kB / 450.6 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.2317, allocations: 214.3 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.2318, allocations: 36.16 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.2318, allocations: 1.766 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.232, allocations: 12.45 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.232, allocations: 4.859 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.232, allocations: 1.281 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009805/0.233, allocations: 0.6507 MB / 451.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.233, allocations: 3.875 kB / 451.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.2335, allocations: 24.3 kB / 451.6 MB, free: 17.59 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.001913/0.2354, allocations: 373.2 kB / 451.9 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.2357, allocations: 46.3 kB / 452 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2357, allocations: 0 / 452 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2358, allocations: 21.48 kB / 452 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.2364, allocations: 34.31 kB / 452 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2381, allocations: 0.8042 MB / 452.8 MB, free: 17.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2384, allocations: 217.8 kB / 453 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.572e-05/0.2385, allocations: 17.7 kB / 453.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2386, allocations: 12.61 kB / 453.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2386, allocations: 1.375 kB / 453.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of Templates: time 0.008064/0.2466, allocations: 1.158 MB / 454.2 MB, free: 16.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 4.93455196544528]