Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001376/0.001376, allocations: 81.56 kB / 20.68 MB, free: 1.039 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.00141/0.00141, allocations: 164.6 kB / 23.96 MB, free: 4.164 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.521/1.521, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.2158/0.2158, allocations: 34.29 MB / 295 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.997e-05, allocations: 5.234 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003234/0.003264, allocations: 1.67 MB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.005334, allocations: 1.266 MB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.005401, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.005623, allocations: 39.66 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.005971, allocations: 87.55 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.006416, allocations: 179.1 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.006586, allocations: 83.75 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.006683, allocations: 4 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.006757, allocations: 39.91 kB / 446.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.006868, allocations: 39.89 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.006889, allocations: 4 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.00706, allocations: 95.75 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.007126, allocations: 23.92 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.007162, allocations: 15.92 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.007422, allocations: 155.6 kB / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007424, allocations: 0 / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007424, allocations: 0 / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.007433, allocations: 0 / 446.4 MB, free: 1.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005024/0.007936, allocations: 341.5 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.007966, allocations: 15.97 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.008005, allocations: 8.891 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.008206, allocations: 141.6 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.008216, allocations: 384 / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.008241, allocations: 4.375 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.008451, allocations: 105.6 kB / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.008464, allocations: 192 / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.008477, allocations: 8.125 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-06/0.00848, allocations: 0 / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.00863, allocations: 43.91 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.009109, allocations: 244.5 kB / 447.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.009237, allocations: 46.55 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.009318, allocations: 28.88 kB / 447.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.009336, allocations: 0 / 447.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.009368, allocations: 38.5 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.009369, allocations: 0 / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008495/0.01022, allocations: 225.4 kB / 447.6 MB, free: 340 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.01029, allocations: 81.05 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01046, allocations: 152 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01048, allocations: 25.7 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.232/0.2425, allocations: 91.16 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.2426, allocations: 31.25 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.2426, allocations: 21 kB / 448 MB, free: 19.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.2427, allocations: 326.4 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2429, allocations: 44.08 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.243, allocations: 76.33 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.2433, allocations: 87.97 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2433, allocations: 0 / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003608/0.2436, allocations: 125.6 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2437, allocations: 6.062 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2437, allocations: 0 / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.2437, allocations: 1.156 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2439, allocations: 19.7 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2439, allocations: 4.453 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.2439, allocations: 11.92 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.244, allocations: 1.672 kB / 448.7 MB, free: 18.9 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 (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 9.078e-05/0.2441, allocations: 126.3 kB / 448.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.2441, allocations: 14.34 kB / 448.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.2445, allocations: 140.4 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2445, allocations: 5.094 kB / 449 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2445, allocations: 0 / 449 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2445, allocations: 2.203 kB / 449 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.2451, allocations: 353.1 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2451, allocations: 3.688 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2452, allocations: 20.28 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2452, allocations: 4.703 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2453, allocations: 1.484 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2453, allocations: 1.25 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2453, allocations: 4.109 kB / 449.4 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.2456, allocations: 222.1 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2456, allocations: 16.25 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2456, allocations: 5.641 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2457, allocations: 8.922 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.2458, allocations: 5.203 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2458, allocations: 6.469 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.2459, allocations: 113.7 kB / 449.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 0 / 449.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2462, allocations: 46.08 kB / 449.8 MB, free: 18.27 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 (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.00197/0.2482, allocations: 0.5195 MB / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.2486, allocations: 92.39 kB / 450.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2486, allocations: 0 / 450.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2487, allocations: 52.47 kB / 450.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2491, allocations: 18.66 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.2496, allocations: 222.9 kB / 450.7 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.372e-05/0.2497, allocations: 86.75 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.2498, allocations: 24.7 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.2499, allocations: 18.61 kB / 450.8 MB, free: 17.83 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2499, allocations: 1.031 kB / 450.8 MB, free: 17.83 MB / 366.1 MB Notification: Performance of Templates: time 0.00607/0.2559, allocations: 1.993 MB / 452.8 MB, free: 17.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.035006109625101]