Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.00108/0.00108, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001358/0.001358, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.01/1.01, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.1686/0.1686, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.51e-05, allocations: 3.156 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002399/0.002424, allocations: 1.706 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.003236, allocations: 0.5639 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.003301, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.00354, allocations: 47.75 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.003762, allocations: 103.5 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.004044, allocations: 175.5 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004183, allocations: 91.69 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.004274, allocations: 20.22 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.004334, allocations: 39.91 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.004416, allocations: 39.89 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.00443, allocations: 8 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.004505, allocations: 55.89 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.004565, allocations: 19.92 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.004588, allocations: 19.94 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004724, allocations: 91.59 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004725, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004726, allocations: 4 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00473, allocations: 3.938 kB / 383 MB, free: 19.72 MB / 314.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.0003551/0.005085, allocations: 436 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005123, allocations: 8.031 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.005164, allocations: 20.84 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.005285, allocations: 152.4 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005295, allocations: 384 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.005313, allocations: 4.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.005415, allocations: 62.94 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.005425, allocations: 192 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.005434, allocations: 4.375 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.00544, allocations: 384 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.00547, allocations: 15.92 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.005714, allocations: 288.2 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.006036, allocations: 43.05 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.006055, allocations: 19.84 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.006071, allocations: 4 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.006088, allocations: 33.39 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.006089, allocations: 0 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004903/0.006579, allocations: 229.4 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.006602, allocations: 59.41 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.006682, allocations: 208.5 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.00669, allocations: 33.7 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.006727, allocations: 150.8 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.006755, allocations: 39.67 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.00679, allocations: 31.36 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.006851, allocations: 0.5 MB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.00687, allocations: 15.98 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.006887, allocations: 8 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.006937, allocations: 39.67 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006938, allocations: 7.938 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.452e-05/0.007023, allocations: 85.53 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.007034, allocations: 8 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007039, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.007048, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.007106, allocations: 27.92 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.007109, allocations: 3.984 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.007133, allocations: 8 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007139, allocations: 0 / 385.5 MB, free: 17.02 MB / 314.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 5.085e-05/0.00719, allocations: 172.5 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.007212, allocations: 11.95 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.007336, allocations: 106.3 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.007339, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.007342, allocations: 4 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.007345, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.007597, allocations: 377.2 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007599, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.007646, allocations: 35.91 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.007649, allocations: 64 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.007655, allocations: 4 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007658, allocations: 4 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007659, allocations: 0 / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.007775, allocations: 270.8 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.007785, allocations: 7.953 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007799, allocations: 8 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.007838, allocations: 8 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.007866, allocations: 7.984 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.007871, allocations: 7.984 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.007911, allocations: 157.5 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007911, allocations: 4 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.008086, allocations: 27.92 kB / 386.7 MB, free: 15.75 MB / 314.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.000928/0.009014, allocations: 422.3 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.009126, allocations: 55.53 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009128, allocations: 0 / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.00916, allocations: 35.61 kB / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.00936, allocations: 23.97 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.009651, allocations: 266.5 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.00969, allocations: 83.19 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.009728, allocations: 16.42 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.009779, allocations: 90.19 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009779, allocations: 0 / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Templates: time 0.003249/0.01303, allocations: 1.819 MB / 389.5 MB, free: 13.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7150195026770234]