Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001639/0.001639, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001474/0.001474, allocations: 171.2 kB / 23.96 MB, free: 4.148 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.477/1.477, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2116/0.2116, allocations: 34.29 MB / 295 MB, free: 14.55 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 442.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/3.935e-05, allocations: 2.281 kB / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003393/0.003432, allocations: 1.679 MB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004593, allocations: 0.5414 MB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.004657, allocations: 7.938 kB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.005318, allocations: 451 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.005839, allocations: 291.2 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.006186, allocations: 138.8 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.006462, allocations: 179.6 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006574, allocations: 8 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.006755, allocations: 131.7 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.007061, allocations: 243.6 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.007086, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.007211, allocations: 55.92 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.007334, allocations: 75.72 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.007397, allocations: 47.66 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.007766, allocations: 251.1 kB / 446.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.007772, allocations: 0 / 446.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007773, allocations: 0 / 446.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.00778, allocations: 3.938 kB / 446.8 MB, free: 1.281 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008669/0.008647, allocations: 0.5815 MB / 447.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.00869, allocations: 12.03 kB / 447.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.00877, allocations: 44.66 kB / 447.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.009086, allocations: 242 kB / 447.6 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.009109, allocations: 12.31 kB / 447.6 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.009137, allocations: 8.359 kB / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.009315, allocations: 58.17 kB / 447.7 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.009329, allocations: 192 / 447.7 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.009343, allocations: 8.125 kB / 447.7 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.009352, allocations: 0 / 447.7 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.009468, allocations: 31.98 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2086/0.2181, allocations: 329.9 kB / 448.1 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2182, allocations: 43.41 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.2183, allocations: 15.72 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2183, allocations: 2.172 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2183, allocations: 33.94 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.2183, allocations: 0 / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000996/0.2193, allocations: 317.9 kB / 448.5 MB, free: 19.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2193, allocations: 56.28 kB / 448.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.2202, allocations: 0.8621 MB / 449.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2202, allocations: 30.47 kB / 449.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2203, allocations: 209.5 kB / 449.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2203, allocations: 28.22 kB / 449.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.2204, allocations: 20.91 kB / 449.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.2205, allocations: 362.7 kB / 450 MB, free: 18.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.2206, allocations: 22.55 kB / 450.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.2206, allocations: 28.91 kB / 450.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2208, allocations: 64.25 kB / 450.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2208, allocations: 6.188 kB / 450.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002247/0.221, allocations: 138.4 kB / 450.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.221, allocations: 5.562 kB / 450.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.221, allocations: 0.5625 kB / 450.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2211, allocations: 5 kB / 450.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2212, allocations: 17.67 kB / 450.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2212, allocations: 1.766 kB / 450.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.2212, allocations: 11.48 kB / 450.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2212, allocations: 3.359 kB / 450.3 MB, free: 18.22 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 (8): * Single equations (assignments): 8 * 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.0001588/0.2214, allocations: 214.7 kB / 450.5 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.2214, allocations: 41.56 kB / 450.6 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.2218, allocations: 160.8 kB / 450.7 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2218, allocations: 9.719 kB / 450.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2218, allocations: 1.594 kB / 450.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2218, allocations: 0.8906 kB / 450.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.2223, allocations: 447.7 kB / 451.2 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2223, allocations: 0 / 451.2 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.2224, allocations: 21.88 kB / 451.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2224, allocations: 7.547 kB / 451.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2224, allocations: 2.781 kB / 451.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2224, allocations: 0 / 451.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2224, allocations: 1.812 kB / 451.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.2227, allocations: 242.2 kB / 451.5 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2227, allocations: 39.73 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2227, allocations: 5.375 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.2228, allocations: 10.02 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2229, allocations: 7.219 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2229, allocations: 1.375 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.2234, allocations: 0.6546 MB / 452.2 MB, free: 17.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2234, allocations: 0 / 452.2 MB, free: 17.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.2237, allocations: 25.94 kB / 452.2 MB, free: 17.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001842/0.2255, allocations: 494.3 kB / 452.7 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2258, allocations: 64.62 kB / 452.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2258, allocations: 3.25 kB / 452.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.2259, allocations: 35.16 kB / 452.8 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.2262, allocations: 31.78 kB / 452.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.2273, allocations: 0.8198 MB / 453.6 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2276, allocations: 225.6 kB / 453.8 MB, free: 16.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.2276, allocations: 14.78 kB / 453.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2276, allocations: 16.31 kB / 453.9 MB, free: 16.54 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2277, allocations: 0 / 453.9 MB, free: 16.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005464/0.2331, allocations: 1.575 MB / 455.5 MB, free: 16.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.848823346197605]