Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.0008268/0.0008268, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003642/0.003642, allocations: 160.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.9208/0.9208, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2884/0.2884, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.204e-05, allocations: 8.953 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002614/0.002646, allocations: 1.666 MB / 442.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.003449, allocations: 0.5413 MB / 443.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.003513, allocations: 3.938 kB / 443.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.003782, allocations: 71.77 kB / 443.2 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.00412, allocations: 103.5 kB / 443.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.004411, allocations: 137.8 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.004607, allocations: 91.75 kB / 443.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004749, allocations: 16.22 kB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.004847, allocations: 51.88 kB / 443.6 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.004974, allocations: 51.86 kB / 443.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.004991, allocations: 4 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.005115, allocations: 55.86 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.005218, allocations: 23.92 kB / 443.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.005256, allocations: 15.92 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005488, allocations: 119.5 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.005493, allocations: 0 / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005494, allocations: 0 / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.0055, allocations: 4 kB / 443.8 MB, free: 0.7578 MB / 410.7 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.0004905/0.00599, allocations: 345.6 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.006035, allocations: 8.031 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.006078, allocations: 12.84 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.006241, allocations: 150.2 kB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.006254, allocations: 8.375 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.006281, allocations: 8.359 kB / 444.3 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006438, allocations: 58.23 kB / 444.4 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006449, allocations: 192 / 444.4 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.006463, allocations: 8.125 kB / 444.4 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.006472, allocations: 7.938 kB / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.006562, allocations: 39.91 kB / 444.5 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2174/0.224, allocations: 245.4 kB / 444.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.2242, allocations: 57.78 kB / 444.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.2243, allocations: 23.16 kB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.2243, allocations: 1.25 kB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2243, allocations: 41.22 kB / 444.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.555e-06/0.2243, allocations: 0 / 444.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008875/0.2252, allocations: 388.5 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2252, allocations: 56.22 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2254, allocations: 210.5 kB / 445.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2254, allocations: 32.48 kB / 445.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.2254, allocations: 109.5 kB / 445.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2254, allocations: 40.36 kB / 445.6 MB, free: 46.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.2255, allocations: 26.86 kB / 445.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.2255, allocations: 330.5 kB / 446 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.2256, allocations: 45.77 kB / 446 MB, free: 45.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.2256, allocations: 43.05 kB / 446.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.2258, allocations: 101 kB / 446.2 MB, free: 45.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2258, allocations: 1.688 kB / 446.2 MB, free: 45.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001693/0.2259, allocations: 144.3 kB / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2259, allocations: 9.188 kB / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.226, allocations: 1.812 kB / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.226, allocations: 0 / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.226, allocations: 28.14 kB / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.226, allocations: 2.844 kB / 446.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.2261, allocations: 9.406 kB / 446.4 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2261, allocations: 6.219 kB / 446.4 MB, free: 45.7 MB / 410.7 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 (11): * Single equations (assignments): 11 * 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.418e-05/0.2261, allocations: 139.5 kB / 446.5 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.2262, allocations: 10.23 kB / 446.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.2264, allocations: 167.2 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2264, allocations: 2.75 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2264, allocations: 0 / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2264, allocations: 3.234 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2268, allocations: 411.9 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2268, allocations: 3.125 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.2268, allocations: 29.58 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2268, allocations: 3.281 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2268, allocations: 2.531 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2268, allocations: 4.938 kB / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2268, allocations: 0 / 447.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.227, allocations: 252.2 kB / 447.4 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.227, allocations: 20.42 kB / 447.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.227, allocations: 4 kB / 447.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.2271, allocations: 11.69 kB / 447.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2271, allocations: 17.88 kB / 447.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2271, allocations: 6.047 kB / 447.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.109e-05/0.2272, allocations: 160.6 kB / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2272, allocations: 0 / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.2274, allocations: 26.03 kB / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008256/0.2282, allocations: 0.4897 MB / 448.1 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.2284, allocations: 99.06 kB / 448.2 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2284, allocations: 0 / 448.2 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.2285, allocations: 61.77 kB / 448.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2288, allocations: 20.27 kB / 448.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.2292, allocations: 326.4 kB / 448.6 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.2293, allocations: 105.8 kB / 448.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.2293, allocations: 16.97 kB / 448.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2293, allocations: 4 kB / 448.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of Templates: time 0.002745/0.2321, allocations: 2.036 MB / 450.8 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.170789833180606]