Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001065/0.001065, 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.001013/0.001013, 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.9499/0.9499, allocations: 177 MB / 204.8 MB, free: 5.574 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.2553/0.2553, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.769e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.573e-05, allocations: 2.875 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002132/0.002158, allocations: 1.658 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.002899, allocations: 0.5718 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.002954, allocations: 0 / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.00342, allocations: 455.1 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.003815, allocations: 299.1 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.00413, allocations: 171.6 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.00434, allocations: 171.6 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.004435, allocations: 15.84 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004543, allocations: 119.8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.004793, allocations: 243.6 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004812, allocations: 4 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004877, allocations: 31.84 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.004964, allocations: 83.66 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.005007, allocations: 39.73 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005201, allocations: 191.2 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005203, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005205, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005209, allocations: 0 / 382.8 MB, free: 14.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005796/0.005789, allocations: 0.6893 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.005826, allocations: 8.031 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.005885, allocations: 48.66 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.006097, allocations: 248.8 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.006107, allocations: 384 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.006119, allocations: 4.375 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006263, allocations: 62.94 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.006272, allocations: 4.125 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.006283, allocations: 384 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.006296, allocations: 8.359 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.006325, allocations: 11.94 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.00683, allocations: 431.6 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.006933, allocations: 35.06 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.006967, allocations: 19.77 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.006993, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.007021, allocations: 37.39 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.007022, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002124/0.007235, allocations: 93.28 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.007272, allocations: 51.41 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.007716, allocations: 0.6355 MB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007729, allocations: 29.7 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.00788, allocations: 278.8 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.007903, allocations: 15.91 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.007935, allocations: 19.38 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.008114, allocations: 0.5508 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.008132, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.008145, allocations: 4 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.00818, allocations: 19.67 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008182, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.83e-05/0.00827, allocations: 89.34 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.008289, allocations: 11.94 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.008295, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.008314, allocations: 4 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.008384, allocations: 4 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00839, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.008416, allocations: 7.984 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.008423, allocations: 0 / 386.2 MB, free: 10.42 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 (3): * Single equations (assignments): 3 * 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 8.02e-05/0.008504, allocations: 156.6 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.008537, allocations: 43.72 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.008668, allocations: 89.02 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.00867, allocations: 4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008674, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008677, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.008904, allocations: 284.5 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008905, allocations: 0 / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.008939, allocations: 7.984 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.008942, allocations: 0 / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.00895, allocations: 4 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008953, allocations: 3.938 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.008955, allocations: 4.375 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.009084, allocations: 235.6 kB / 387 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.009109, allocations: 39.66 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.009126, allocations: 3.984 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.009164, allocations: 11.88 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.009181, allocations: 4 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.009183, allocations: 0 / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004778/0.009661, allocations: 430.8 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009661, allocations: 0 / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.009839, allocations: 16 kB / 387.5 MB, free: 9.039 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 (3): * Single equations (assignments): 3 * 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.0007513/0.01059, allocations: 322.1 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01071, allocations: 19.67 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01071, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.01073, allocations: 19.62 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01101, allocations: 34.19 kB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.01173, allocations: 0.5807 MB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.01182, allocations: 119.2 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.01187, allocations: 11.98 kB / 388.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.0119, allocations: 16.5 kB / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0119, allocations: 0 / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of Templates: time 0.00403/0.01593, allocations: 1.262 MB / 389.9 MB, free: 6.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.8674192102625966]