Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001015/0.001015, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00142/0.00142, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9515/0.9515, allocations: 177 MB / 204.8 MB, free: 5.582 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.2431/0.2431, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.633e-05, allocations: 3.156 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002462/0.002489, allocations: 1.711 MB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003773, allocations: 1.312 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.00384, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.004102, allocations: 35.77 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.004473, allocations: 83.55 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.004818, allocations: 179.4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.004957, allocations: 79.81 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.005049, allocations: 12 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.00511, allocations: 43.84 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.005199, allocations: 27.95 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.005214, allocations: 4 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.005352, allocations: 99.75 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.005403, allocations: 15.92 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.005433, allocations: 19.98 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.005641, allocations: 143.4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005643, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005644, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005648, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 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.000426/0.006074, allocations: 443.9 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.006108, allocations: 8.031 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.006154, allocations: 12.89 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.006292, allocations: 144.4 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.006301, allocations: 384 / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.00632, allocations: 4.375 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006462, allocations: 111.9 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006471, allocations: 192 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.006481, allocations: 4.375 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.006488, allocations: 4.375 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.006519, allocations: 11.94 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.006823, allocations: 295.7 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.006894, allocations: 39 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006918, allocations: 15.69 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.006936, allocations: 8.078 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.006961, allocations: 41.33 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006962, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003734/0.007335, allocations: 125.4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.007367, allocations: 81.11 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.007828, allocations: 197.9 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007842, allocations: 29.7 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.007888, allocations: 138.9 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.007909, allocations: 27.73 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.007941, allocations: 27.38 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.00804, allocations: 0.4923 MB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.008061, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.008102, allocations: 61 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.008164, allocations: 35.75 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008165, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.008268, allocations: 73.61 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.008282, allocations: 10.33 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008287, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.008299, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.008376, allocations: 23.88 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008381, allocations: 3.984 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.008408, allocations: 8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.008414, allocations: 0 / 385 MB, free: 11.62 MB / 362.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 (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.382e-05/0.008478, allocations: 156.6 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.008501, allocations: 19.89 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.008628, allocations: 86.73 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.008629, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.008632, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.008635, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.008872, allocations: 345.3 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008874, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.008912, allocations: 12 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008914, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.008922, allocations: 7.984 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008924, allocations: 4 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008925, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.009033, allocations: 219.8 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.009043, allocations: 7.953 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.009056, allocations: 4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.009095, allocations: 8.266 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.009132, allocations: 7.984 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.009135, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.009196, allocations: 151.2 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009196, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.00938, allocations: 39.86 kB / 386 MB, free: 10.48 MB / 362.7 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.000937/0.01032, allocations: 495.8 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01045, allocations: 47.59 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01045, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.01048, allocations: 31.67 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01069, allocations: 30.53 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.01103, allocations: 200.8 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01106, allocations: 67.28 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01112, allocations: 25 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.01115, allocations: 24.48 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01116, allocations: 0 / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of Templates: time 0.003931/0.01509, allocations: 2.18 MB / 389.1 MB, free: 7.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.0407867901958525]