Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001014/0.001014, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001052/0.001052, allocations: 162.9 kB / 24.99 MB, free: 8.262 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.9766/0.9766, allocations: 177 MB / 205.2 MB, free: 5.613 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.2504/0.2504, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.506e-05, allocations: 4.703 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002233/0.002258, allocations: 1.684 MB / 380.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006815/0.002939, allocations: 0.5524 MB / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.00299, allocations: 0 / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.003437, allocations: 451.1 kB / 381.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.003787, allocations: 295.1 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.004017, allocations: 135.5 kB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.004202, allocations: 171.6 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.004293, allocations: 11.86 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004401, allocations: 115.8 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.004588, allocations: 251.5 kB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.004602, allocations: 4 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.004671, allocations: 31.92 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.004753, allocations: 87.7 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.004788, allocations: 31.75 kB / 382.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.004998, allocations: 195.2 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005, allocations: 0 / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005, allocations: 0 / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005005, allocations: 8 kB / 382.8 MB, free: 14.38 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.0005434/0.005549, allocations: 0.6892 MB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.005587, allocations: 12.03 kB / 383.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.005644, allocations: 44.66 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.005827, allocations: 244.8 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.005837, allocations: 4.375 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.005855, allocations: 4.375 kB / 383.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005965, allocations: 62.94 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.005975, allocations: 4.188 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005983, allocations: 384 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00599, allocations: 4.375 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.006023, allocations: 15.88 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.006392, allocations: 431.6 kB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.006544, allocations: 39.05 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.006567, allocations: 15.69 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006584, allocations: 7.938 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.006607, allocations: 37.33 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006608, allocations: 0 / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003597/0.006968, allocations: 184.8 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006996, allocations: 51.41 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.007395, allocations: 0.6355 MB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007406, allocations: 25.7 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.007541, allocations: 282.8 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.00756, allocations: 19.83 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.007588, allocations: 19.38 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.007729, allocations: 0.5509 MB / 386.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.007747, allocations: 11.92 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.00776, allocations: 4 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.007796, allocations: 23.69 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007796, allocations: 0 / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.05e-05/0.007887, allocations: 105.3 kB / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.0079, allocations: 8 kB / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007904, allocations: 0 / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007916, allocations: 0 / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.007963, allocations: 11.98 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.007967, allocations: 0 / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.007992, allocations: 4 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.007996, allocations: 0 / 386.3 MB, free: 10.64 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 (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 7.183e-05/0.008068, allocations: 160.6 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.008101, allocations: 47.66 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.008229, allocations: 101.4 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.008234, allocations: 3.984 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.008238, allocations: 4.062 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008242, allocations: 4 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.008557, allocations: 465.3 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008559, allocations: 288 / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.008592, allocations: 11.94 kB / 387.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.008594, allocations: 0 / 387.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.008601, allocations: 3.984 kB / 387.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.008603, allocations: 4 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008604, allocations: 4 kB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.008719, allocations: 247.6 kB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.00874, allocations: 31.72 kB / 387.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.008754, allocations: 0 / 387.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.008794, allocations: 4 kB / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.00882, allocations: 3.984 kB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.008824, allocations: 4 kB / 387.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.009066, allocations: 430.8 kB / 387.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.009067, allocations: 0 / 387.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.009236, allocations: 19.94 kB / 387.8 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 (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.0007714/0.01001, allocations: 389.9 kB / 388.2 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01011, allocations: 27.67 kB / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01011, allocations: 4 kB / 388.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.01014, allocations: 19.69 kB / 388.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.0104, allocations: 33.83 kB / 388.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.01102, allocations: 0.5707 MB / 388.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.21e-05/0.01109, allocations: 119.2 kB / 388.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.055e-05/0.01112, allocations: 19.97 kB / 389 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.01115, allocations: 12.5 kB / 389 MB, free: 7.906 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01115, allocations: 0 / 389 MB, free: 7.906 MB / 362.7 MB Notification: Performance of Templates: time 0.00428/0.01543, allocations: 1.359 MB / 390.3 MB, free: 6.559 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.086089165881276]