Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.522e-05, allocations: 8.672 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003248/0.003273, allocations: 1.669 MB / 444.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.0045, allocations: 0.5331 MB / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.004568, allocations: 0 / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.005235, allocations: 463 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.005786, allocations: 291.2 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.006176, allocations: 131.4 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.006439, allocations: 179.6 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006552, allocations: 15.98 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.006699, allocations: 115.8 kB / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.00699, allocations: 247.6 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.007017, allocations: 4 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.007134, allocations: 51.86 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.007245, allocations: 87.7 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.007299, allocations: 39.73 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.007647, allocations: 259 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007652, allocations: 0 / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007653, allocations: 0 / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.007658, allocations: 0 / 446.7 MB, free: 1.223 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.0007485/0.008407, allocations: 0.5815 MB / 447.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.008443, allocations: 12.03 kB / 447.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.00851, allocations: 40.66 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.008803, allocations: 246 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.008816, allocations: 4.375 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.008841, allocations: 4.375 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.009008, allocations: 62.22 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.009022, allocations: 192 / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.009032, allocations: 384 / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.009038, allocations: 4.375 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.009149, allocations: 35.86 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2275/0.2366, allocations: 330.9 kB / 448 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2368, allocations: 46.48 kB / 448.1 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.2368, allocations: 14.16 kB / 448.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2369, allocations: 6.984 kB / 448.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2369, allocations: 35.19 kB / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.2369, allocations: 0 / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001037/0.2379, allocations: 318.4 kB / 448.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.238, allocations: 57.2 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.2389, allocations: 0.8585 MB / 449.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2389, allocations: 30.12 kB / 449.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.239, allocations: 212.7 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.239, allocations: 25.27 kB / 449.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.2391, allocations: 24.36 kB / 449.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2392, allocations: 360.3 kB / 450 MB, free: 18.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2393, allocations: 27.69 kB / 450 MB, free: 18.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.2393, allocations: 23.03 kB / 450.1 MB, free: 18.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2395, allocations: 66.38 kB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2395, allocations: 0.6562 kB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.2397, allocations: 142.7 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2398, allocations: 5.5 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2398, allocations: 0 / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2398, allocations: 4.875 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2399, allocations: 20.5 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2399, allocations: 1.938 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.24, allocations: 9.156 kB / 450.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.24, allocations: 2.906 kB / 450.3 MB, free: 18.14 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.0001668/0.2401, allocations: 213.5 kB / 450.5 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.2402, allocations: 45.69 kB / 450.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.2405, allocations: 165.5 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2405, allocations: 1 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2405, allocations: 1.156 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2405, allocations: 0.7969 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.2411, allocations: 444.7 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2411, allocations: 2 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.2412, allocations: 20.05 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2412, allocations: 2.906 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2412, allocations: 1.094 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2412, allocations: 5.047 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2412, allocations: 0.7969 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2415, allocations: 252.4 kB / 451.4 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2415, allocations: 39.19 kB / 451.5 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.2415, allocations: 1.656 kB / 451.5 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.2416, allocations: 12.58 kB / 451.5 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2416, allocations: 6.828 kB / 451.5 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2417, allocations: 2.469 kB / 451.5 MB, free: 17.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.2422, allocations: 0.653 MB / 452.2 MB, free: 17.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2422, allocations: 0 / 452.2 MB, free: 17.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2425, allocations: 29.84 kB / 452.2 MB, free: 17.14 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.00179/0.2443, allocations: 475.8 kB / 452.6 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2445, allocations: 70.12 kB / 452.7 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2445, allocations: 4.625 kB / 452.7 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.2446, allocations: 31.64 kB / 452.7 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.245, allocations: 27.55 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2462, allocations: 0.8192 MB / 453.6 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2464, allocations: 226.9 kB / 453.8 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.2465, allocations: 10.06 kB / 453.8 MB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.2465, allocations: 19.58 kB / 453.8 MB, free: 16.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2465, allocations: 0 / 453.8 MB, free: 16.43 MB / 366.1 MB Notification: Performance of Templates: time 0.006166/0.2527, allocations: 1.57 MB / 455.4 MB, free: 16.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.882122032344341]