Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.00184/0.00184, allocations: 85.91 kB / 22.21 MB, free: 2.289 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.001812/0.001812, allocations: 154.7 kB / 25.6 MB, free: 8.496 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.9774/0.9774, allocations: 177 MB / 205.9 MB, free: 4.449 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.1526/0.1526, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.264e-05, allocations: 7.297 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002459/0.002491, allocations: 1.677 MB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.003291, allocations: 0.5679 MB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.003364, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.003791, allocations: 451.1 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.004181, allocations: 299.1 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.00454, allocations: 163.5 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.004764, allocations: 179.6 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004873, allocations: 11.98 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004987, allocations: 131.7 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.005167, allocations: 239.6 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005186, allocations: 4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.005263, allocations: 35.92 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.00534, allocations: 79.72 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.005374, allocations: 39.73 kB / 383.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005558, allocations: 207.1 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005561, allocations: 4 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005563, allocations: 0 / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005568, allocations: 0 / 384.1 MB, free: 18.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004583/0.006026, allocations: 0.7009 MB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.006068, allocations: 12.03 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.006116, allocations: 44.66 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.006269, allocations: 244.9 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.006279, allocations: 4.359 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.006298, allocations: 8.375 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.006398, allocations: 58.88 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006409, allocations: 192 / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.006417, allocations: 8.375 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.006423, allocations: 384 / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.00645, allocations: 15.92 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.006766, allocations: 336.3 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.006904, allocations: 39.09 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.006921, allocations: 15.67 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.006939, allocations: 0 / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.006956, allocations: 33.39 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006957, allocations: 0 / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.007269, allocations: 133.2 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.007294, allocations: 55.41 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.007551, allocations: 0.6118 MB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.007559, allocations: 25.7 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.007668, allocations: 298.6 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.007688, allocations: 15.89 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.00772, allocations: 27.36 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.007807, allocations: 0.5508 MB / 387.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.007824, allocations: 7.984 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.007837, allocations: 4 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.00787, allocations: 27.61 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007871, allocations: 4.188 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.039e-05/0.007961, allocations: 105.3 kB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007973, allocations: 4 kB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007978, allocations: 0 / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007989, allocations: 0 / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.008039, allocations: 11.98 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.008043, allocations: 0 / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.008069, allocations: 4 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.008076, allocations: 0 / 387.5 MB, free: 15.06 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 (5): * Single equations (assignments): 5 * 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.782e-05/0.008144, allocations: 164.6 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.00818, allocations: 51.59 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.008317, allocations: 93.17 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.008321, allocations: 0 / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.008323, allocations: 0 / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.008327, allocations: 3.984 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.008592, allocations: 378.2 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.008595, allocations: 3.938 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.008639, allocations: 15.98 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.008643, allocations: 4 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.008649, allocations: 4 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008649, allocations: 0 / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008652, allocations: 3.984 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.00876, allocations: 235.9 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.008784, allocations: 35.66 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.008804, allocations: 11.98 kB / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.008842, allocations: 0 / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.008879, allocations: 11.94 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.008883, allocations: 0 / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.009042, allocations: 394.7 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.009043, allocations: 3.938 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.009227, allocations: 24 kB / 388.9 MB, free: 13.59 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0009069/0.01013, allocations: 371.5 kB / 389.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01024, allocations: 31.67 kB / 389.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01024, allocations: 0 / 389.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.01026, allocations: 23.61 kB / 389.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01052, allocations: 33.84 kB / 389.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.01108, allocations: 0.5789 MB / 389.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.01114, allocations: 123.1 kB / 390 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.01118, allocations: 15.97 kB / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.01123, allocations: 74.2 kB / 390.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01123, allocations: 4 kB / 390.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of Templates: time 0.004539/0.01577, allocations: 1.522 MB / 391.6 MB, free: 10.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.585003289859742]