Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001321/0.001321, allocations: 83.38 kB / 20.68 MB, free: 1.023 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.001441/0.001441, allocations: 164.7 kB / 23.95 MB, free: 4.156 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.514/1.514, 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.2873/0.2873, allocations: 34.28 MB / 294.9 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.138e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003158/0.00319, allocations: 1.659 MB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.005287, allocations: 1.281 MB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.005363, allocations: 0 / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.005598, allocations: 19.8 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.005991, allocations: 87.55 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.006445, allocations: 190.9 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.006615, allocations: 79.77 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.006721, allocations: 8 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.006806, allocations: 47.83 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.006916, allocations: 27.89 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.006944, allocations: 11.94 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.007124, allocations: 95.81 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.007188, allocations: 19.92 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.007228, allocations: 16 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.007512, allocations: 155.4 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007516, allocations: 0 / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007517, allocations: 4 kB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.007526, allocations: 0 / 446.4 MB, free: 1.664 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.000552/0.008078, allocations: 337.6 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.008115, allocations: 12.03 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.008161, allocations: 4.891 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.008375, allocations: 144.1 kB / 446.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.008385, allocations: 8.375 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.00841, allocations: 4.375 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.008636, allocations: 105.6 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.008647, allocations: 192 / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.008661, allocations: 4.125 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.008667, allocations: 4 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.008821, allocations: 35.97 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.009248, allocations: 244.5 kB / 447.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.009392, allocations: 54.48 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.009475, allocations: 28.88 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.009492, allocations: 0 / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.009525, allocations: 34.56 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.009526, allocations: 0 / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008869/0.01041, allocations: 233.4 kB / 447.6 MB, free: 316 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.01047, allocations: 77.11 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.01064, allocations: 145.8 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.01066, allocations: 29.7 kB / 447.9 MB, free: 28 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2068/0.2175, allocations: 90.75 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.2175, allocations: 25.98 kB / 448 MB, free: 19.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.2176, allocations: 23.53 kB / 448 MB, free: 19.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.2176, allocations: 322.1 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2178, allocations: 40.55 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.218, allocations: 78.55 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.2182, allocations: 91.7 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2182, allocations: 0 / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003462/0.2186, allocations: 121 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2186, allocations: 4.312 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2186, allocations: 1.828 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.2186, allocations: 5.672 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2188, allocations: 31.08 kB / 448.7 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2188, allocations: 3.094 kB / 448.7 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.2188, allocations: 12.45 kB / 448.7 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2189, allocations: 3.031 kB / 448.7 MB, free: 18.88 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 6.823e-05/0.2189, allocations: 119.2 kB / 448.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.219, allocations: 14.25 kB / 448.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.2193, allocations: 143 kB / 449 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2193, allocations: 4.969 kB / 449 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2193, allocations: 0 / 449 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2193, allocations: 1.719 kB / 449 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.2199, allocations: 345.2 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2199, allocations: 1.281 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.22, allocations: 26.14 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.22, allocations: 5.766 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.22, allocations: 2.703 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.22, allocations: 0.6094 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.22, allocations: 0 / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2203, allocations: 227.7 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.2203, allocations: 9.25 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2203, allocations: 9.609 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2204, allocations: 8.531 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.2205, allocations: 5.406 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2205, allocations: 2.781 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.2206, allocations: 115 kB / 449.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2206, allocations: 3.625 kB / 449.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.2209, allocations: 41.47 kB / 449.8 MB, free: 18.26 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.001848/0.2227, allocations: 0.5261 MB / 450.3 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.2231, allocations: 90.81 kB / 450.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2231, allocations: 0 / 450.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2232, allocations: 45.98 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.2235, allocations: 26.44 kB / 450.4 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.2241, allocations: 228.2 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2242, allocations: 87.73 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.106e-05/0.2243, allocations: 37.22 kB / 450.8 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.2243, allocations: 18.53 kB / 450.8 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2243, allocations: 0 / 450.8 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.006054/0.2304, allocations: 1.972 MB / 452.8 MB, free: 17.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.0982611663639545]