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.001074/0.001074, allocations: 77.92 kB / 22.21 MB, free: 2.293 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.001065/0.001065, allocations: 155 kB / 25.61 MB, free: 8.613 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.003/1.003, allocations: 177 MB / 205.9 MB, free: 4.438 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.33 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.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.442e-06/1.442e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.794e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003148/0.003176, allocations: 1.707 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.004144, allocations: 0.564 MB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004245, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.004777, allocations: 463 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.005238, allocations: 295.1 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.005619, allocations: 175.5 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.005861, allocations: 179.6 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005971, allocations: 12.22 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.006086, allocations: 127.7 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.006278, allocations: 247.6 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.006295, allocations: 4 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.006397, allocations: 47.92 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.006479, allocations: 83.72 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.006518, allocations: 43.72 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.006733, allocations: 215 kB / 384.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.006739, allocations: 0 / 384.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.006741, allocations: 3.984 kB / 384.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.006748, allocations: 0 / 384.2 MB, free: 18.59 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.0004945/0.007242, allocations: 0.7125 MB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.007283, allocations: 8.031 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.00734, allocations: 44.66 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.007515, allocations: 252.8 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.007525, allocations: 4.375 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.007548, allocations: 8.359 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.007653, allocations: 58.94 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007665, allocations: 192 / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.007673, allocations: 4.375 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.007679, allocations: 4.375 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.961e-05/0.007708, allocations: 15.86 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.008094, allocations: 352.2 kB / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.681e-05/0.008171, allocations: 39.14 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.008194, allocations: 19.61 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.008217, allocations: 3.938 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.008241, allocations: 41.33 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.008242, allocations: 0 / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.008839, allocations: 185.2 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.008871, allocations: 59.41 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.009192, allocations: 0.6079 MB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.009202, allocations: 25.7 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.009321, allocations: 298.7 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.009354, allocations: 31.73 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.009398, allocations: 31.36 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.009534, allocations: 0.5547 MB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.009555, allocations: 4 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.009576, allocations: 15.97 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.009621, allocations: 31.62 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009623, allocations: 3.938 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001133/0.009736, allocations: 101.4 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.009754, allocations: 4 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.009764, allocations: 8 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.009776, allocations: 0 / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.009855, allocations: 15.98 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.009858, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.009885, allocations: 7.938 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.009891, allocations: 4 kB / 387.7 MB, free: 14.85 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 (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 6.642e-05/0.009958, allocations: 164.5 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.009994, allocations: 47.67 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.01017, allocations: 109.8 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01017, allocations: 4 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01018, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01018, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.01047, allocations: 433.5 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01047, allocations: 0 / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.01052, allocations: 15.94 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01052, allocations: 4 kB / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.01053, allocations: 12.44 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01053, allocations: 0 / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01053, allocations: 7.938 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.01064, allocations: 263.2 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.01066, allocations: 31.72 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.01068, allocations: 8 kB / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.01072, allocations: 7.969 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.01075, allocations: 7.938 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01075, allocations: 4 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.0109, allocations: 390.7 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0109, allocations: 0 / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01109, allocations: 39.92 kB / 389.2 MB, free: 13.25 MB / 314.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.0009245/0.01202, allocations: 431.6 kB / 389.6 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.01212, allocations: 39.59 kB / 389.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01212, allocations: 4 kB / 389.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.01215, allocations: 23.67 kB / 389.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01241, allocations: 28.91 kB / 389.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.01297, allocations: 0.6059 MB / 390.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.01304, allocations: 131.1 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.01308, allocations: 17.02 kB / 390.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.01313, allocations: 82.2 kB / 390.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01313, allocations: 0 / 390.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of Templates: time 0.004009/0.01714, allocations: 1.789 MB / 392.3 MB, free: 10.24 MB / 314.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.443288499955088]