Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0009468/0.0009468, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001001/0.001001, allocations: 156.5 kB / 24.55 MB, free: 20 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.9421/0.9421, allocations: 177 MB / 204.8 MB, free: 5.629 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.2571/0.2571, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.671e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00578/0.005797, allocations: 1.713 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.006727, allocations: 0.5797 MB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.006787, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.007344, allocations: 463 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.008961, allocations: 299.1 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.009323, allocations: 171.5 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.009564, allocations: 179.7 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.009665, allocations: 16.22 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.009796, allocations: 131.7 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.01002, allocations: 231.7 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.01004, allocations: 11.88 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.01014, allocations: 55.92 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.01024, allocations: 87.69 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.01029, allocations: 35.75 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.01058, allocations: 215.1 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01058, allocations: 4 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01058, allocations: 0 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.01059, allocations: 0 / 382.9 MB, free: 13.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006498/0.01124, allocations: 0.7047 MB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01127, allocations: 8.031 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.01135, allocations: 48.66 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.01157, allocations: 252.8 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.01158, allocations: 384 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.0116, allocations: 8.375 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.01174, allocations: 66.89 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01175, allocations: 192 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.01176, allocations: 384 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01177, allocations: 4.375 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.01181, allocations: 15.92 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.01221, allocations: 443.5 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.01227, allocations: 39.06 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.01229, allocations: 19.77 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.01231, allocations: 3.938 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.01234, allocations: 33.39 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.01234, allocations: 0 / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007489/0.01309, allocations: 268.7 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.01313, allocations: 55.41 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.01403, allocations: 0.6316 MB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01404, allocations: 25.7 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.01425, allocations: 286.8 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.01429, allocations: 31.73 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.01433, allocations: 27.38 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.01453, allocations: 0.5508 MB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.01456, allocations: 7.984 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.01459, allocations: 12 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.211e-05/0.01466, allocations: 39.67 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01466, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001567/0.01482, allocations: 109.3 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01484, allocations: 4 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01484, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01486, allocations: 4 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01497, allocations: 19.98 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01498, allocations: 4 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.01502, allocations: 0 / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01503, allocations: 4 kB / 386.6 MB, free: 9.988 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 0.0001085/0.01514, allocations: 160.5 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.01521, allocations: 47.67 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.01542, allocations: 121.8 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01542, allocations: 0 / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01543, allocations: 4 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01543, allocations: 0 / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.01599, allocations: 0.5086 MB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01599, allocations: 0 / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.01606, allocations: 15.98 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.01606, allocations: 8 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.01607, allocations: 0 / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01608, allocations: 0 / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01608, allocations: 0 / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.01628, allocations: 275.2 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.01633, allocations: 43.7 kB / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01635, allocations: 3.938 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.01643, allocations: 8 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.01647, allocations: 7.922 kB / 387.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01648, allocations: 4 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003825/0.01686, allocations: 426.8 kB / 388.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01686, allocations: 0 / 388.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.01714, allocations: 28 kB / 388.3 MB, free: 8.262 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.001324/0.01846, allocations: 430.5 kB / 388.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01862, allocations: 47.59 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01862, allocations: 0 / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.01868, allocations: 31.61 kB / 388.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.01905, allocations: 30.25 kB / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.01994, allocations: 0.6119 MB / 389.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.02006, allocations: 127.2 kB / 389.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.02013, allocations: 16.72 kB / 389.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.02017, allocations: 20.5 kB / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02017, allocations: 0 / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of Templates: time 0.005839/0.02601, allocations: 1.748 MB / 391.3 MB, free: 5.297 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.077761554159224]