Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009249/0.0009249, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001112/0.001112, allocations: 171.8 kB / 24.82 MB, free: 9.254 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 0.9294/0.9294, allocations: 177 MB / 205.1 MB, free: 5.473 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.2466/0.2466, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.301e-05, allocations: 3.297 kB / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002154/0.002177, allocations: 1.639 MB / 380.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.002943, allocations: 0.533 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.003003, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.003268, allocations: 71.7 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.003563, allocations: 99.53 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.003788, allocations: 91.62 kB / 381.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.003921, allocations: 91.75 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.00401, allocations: 19.92 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.004077, allocations: 39.89 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.004168, allocations: 47.88 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.004182, allocations: 7.938 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.004256, allocations: 39.98 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.004295, allocations: 15.94 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.004319, allocations: 23.91 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.004447, allocations: 83.67 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.004449, allocations: 0 / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.00445, allocations: 4 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004454, allocations: 3.938 kB / 382.1 MB, free: 14.98 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.000348/0.004802, allocations: 439.9 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004835, allocations: 11.97 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.004866, allocations: 12.89 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.004975, allocations: 146.6 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.004982, allocations: 384 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.004997, allocations: 4.375 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.005086, allocations: 62.92 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005093, allocations: 192 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.005098, allocations: 384 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.005102, allocations: 8.375 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.005123, allocations: 11.92 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.005338, allocations: 264.4 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.005386, allocations: 35.06 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.005403, allocations: 19.77 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.00542, allocations: 0 / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005438, allocations: 37.33 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.005439, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.005961, allocations: 161.3 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.005992, allocations: 51.41 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.006147, allocations: 226.5 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.006162, allocations: 33.64 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.006226, allocations: 150.9 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.006259, allocations: 31.72 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.006297, allocations: 23.38 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.006436, allocations: 0.5001 MB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.006456, allocations: 11.98 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.006472, allocations: 4 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.006518, allocations: 39.61 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006519, allocations: 0 / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.959e-05/0.006619, allocations: 77.75 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.00663, allocations: 4 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006635, allocations: 4 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.006647, allocations: 0 / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.006716, allocations: 16 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.00672, allocations: 4.062 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.006744, allocations: 3.984 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.00675, allocations: 8 kB / 384.4 MB, free: 12.41 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 (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 7.487e-05/0.006825, allocations: 160.5 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.006856, allocations: 15.89 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.006992, allocations: 79.14 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006994, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006995, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.007, allocations: 3.984 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.007307, allocations: 349.6 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007309, allocations: 0 / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.007354, allocations: 16.41 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007356, allocations: 0 / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.007364, allocations: 8.031 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.007365, allocations: 3.938 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007367, allocations: 0 / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.0075, allocations: 235.5 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.007512, allocations: 11.89 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007524, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.007574, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.0076, allocations: 7.984 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.007608, allocations: 11.94 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.122e-05/0.007679, allocations: 156.8 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007679, allocations: 4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000231/0.00791, allocations: 19.94 kB / 385.5 MB, free: 11.27 MB / 362.7 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.0009798/0.00889, allocations: 436.1 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.008975, allocations: 43.64 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008977, allocations: 0 / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.009008, allocations: 27.61 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.009265, allocations: 27.92 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.009582, allocations: 226.4 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.009624, allocations: 67.33 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.009668, allocations: 8.734 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.009728, allocations: 82.19 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009729, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.00343/0.01316, allocations: 1.504 MB / 387.9 MB, free: 8.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 2.86986318603158]