Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001291/0.001291, allocations: 85.44 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.001394/0.001394, allocations: 163.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.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] 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.1955/0.1955, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.666e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.0029/0.002927, allocations: 1.654 MB / 441.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.00484, allocations: 1.254 MB / 443 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.004894, allocations: 0 / 443 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.005099, allocations: 23.84 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.005424, allocations: 83.56 kB / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.005759, allocations: 138.6 kB / 443.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.00592, allocations: 83.69 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.006014, allocations: 12 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.006096, allocations: 35.91 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.006228, allocations: 31.89 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.006248, allocations: 4 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.006425, allocations: 87.88 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.00649, allocations: 23.92 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.006521, allocations: 15.92 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.006803, allocations: 163.4 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006806, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006807, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006812, allocations: 0 / 443.7 MB, free: 4.562 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.0005589/0.007371, allocations: 329.7 kB / 444 MB, free: 4.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.00741, allocations: 12.03 kB / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.007461, allocations: 8.891 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007668, allocations: 137.6 kB / 444.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.007681, allocations: 8.359 kB / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.007702, allocations: 8.359 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.007924, allocations: 105.6 kB / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007935, allocations: 192 / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.00795, allocations: 8.125 kB / 444.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.007954, allocations: 0 / 444.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.00809, allocations: 35.91 kB / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.008447, allocations: 224.5 kB / 444.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.008589, allocations: 50.5 kB / 444.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.008676, allocations: 24.88 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.008699, allocations: 0 / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.008731, allocations: 34.56 kB / 444.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.008732, allocations: 0 / 444.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008348/0.009567, allocations: 217.2 kB / 444.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.009628, allocations: 81.11 kB / 445 MB, free: 3.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.009799, allocations: 144.5 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.00982, allocations: 25.7 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.009883, allocations: 96.12 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.009911, allocations: 19.86 kB / 445.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.009953, allocations: 21.72 kB / 445.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01011, allocations: 326.8 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.01023, allocations: 35.97 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01037, allocations: 71.39 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01061, allocations: 80.73 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01061, allocations: 0 / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002947/0.0109, allocations: 113.6 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01092, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01092, allocations: 0 / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01094, allocations: 0 / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01107, allocations: 23.98 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01107, allocations: 0 / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.01114, allocations: 11.98 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.01115, allocations: 0 / 445.9 MB, free: 2.148 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 0.0001086/0.01126, allocations: 130.4 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.0113, allocations: 11.91 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.01166, allocations: 126.7 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01167, allocations: 0 / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01167, allocations: 0 / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01167, allocations: 4 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.01224, allocations: 334.1 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01224, allocations: 0 / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.01234, allocations: 23.97 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01234, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01235, allocations: 8 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01235, allocations: 0 / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01235, allocations: 0 / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.0127, allocations: 211.4 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.01273, allocations: 19.94 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01275, allocations: 3.938 kB / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.01285, allocations: 7.984 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.01289, allocations: 8.219 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.01289, allocations: 0 / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.013, allocations: 115.2 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.013, allocations: 0 / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.01332, allocations: 51.73 kB / 446.9 MB, free: 1.043 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.001908/0.01522, allocations: 0.5204 MB / 447.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.01554, allocations: 79.92 kB / 447.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01555, allocations: 0 / 447.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01568, allocations: 47.98 kB / 447.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.01598, allocations: 19.17 kB / 447.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.01659, allocations: 205.2 kB / 447.8 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.621e-05/0.01667, allocations: 83.88 kB / 447.9 MB, free: 272 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.194e-05/0.01675, allocations: 11.94 kB / 447.9 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.0168, allocations: 20.48 kB / 447.9 MB, free: 240 kB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.0168, allocations: 4 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of Templates: time 0.1812/0.198, allocations: 1.962 MB / 449.9 MB, free: 21.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.625172406435013]