Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001502/0.001502, allocations: 91.5 kB / 21.19 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.001331/0.001331, 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 1.082/1.082, allocations: 177 MB / 204.8 MB, free: 5.57 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.3089/0.3089, allocations: 34.86 MB / 296.3 MB, free: 0.5625 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.266e-05/4.538e-05, allocations: 6.812 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003083/0.003129, allocations: 1.717 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.003992, allocations: 0.5524 MB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.004055, allocations: 4 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.004576, allocations: 455.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.005001, allocations: 295.2 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.005277, allocations: 135.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.005503, allocations: 163.7 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.005612, allocations: 15.97 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.00574, allocations: 131.7 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.005951, allocations: 243.5 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.005973, allocations: 4 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.006088, allocations: 51.92 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.006205, allocations: 87.7 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.006246, allocations: 39.73 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.006499, allocations: 203.2 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006503, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006504, allocations: 3.938 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.00651, allocations: 0 / 382.8 MB, free: 14.01 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.0006123/0.007122, allocations: 0.7009 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.007167, allocations: 8.031 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.007239, allocations: 44.66 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.007468, allocations: 252.8 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.00748, allocations: 8.375 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.007511, allocations: 8.375 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.007652, allocations: 74.81 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007663, allocations: 192 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.007674, allocations: 384 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.007682, allocations: 384 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.007721, allocations: 15.94 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.008178, allocations: 439.5 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.008258, allocations: 43.05 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.008282, allocations: 11.77 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.008311, allocations: 11.94 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.008337, allocations: 33.39 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.008338, allocations: 96 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006834/0.009022, allocations: 256.5 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.009055, allocations: 51.41 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.009506, allocations: 0.6277 MB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.009519, allocations: 29.7 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.009676, allocations: 290.7 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.009706, allocations: 27.75 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.009748, allocations: 31.36 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.009911, allocations: 0.5547 MB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.009937, allocations: 11.98 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.009957, allocations: 4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.01001, allocations: 43.61 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01001, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001224/0.01013, allocations: 113.3 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01015, allocations: 4 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01016, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01017, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.01026, allocations: 16 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01027, allocations: 4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.01029, allocations: 3.984 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.0103, allocations: 4 kB / 386.5 MB, free: 10.1 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 9.066e-05/0.01039, allocations: 160.5 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.01043, allocations: 47.66 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.01062, allocations: 117.8 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01062, allocations: 0 / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01062, allocations: 4 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01063, allocations: 0 / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.01105, allocations: 0.5087 MB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01105, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.0111, allocations: 12 kB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01111, allocations: 4 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01111, allocations: 7.984 kB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01112, allocations: 0 / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01112, allocations: 3.938 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.01127, allocations: 267.3 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.0113, allocations: 35.75 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01132, allocations: 4 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.01136, allocations: 3.984 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.0114, allocations: 11.94 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.0114, allocations: 4 kB / 387.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.01165, allocations: 426.8 kB / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.01183, allocations: 31.92 kB / 388.2 MB, free: 8.387 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.0009099/0.01274, allocations: 433.8 kB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01286, allocations: 39.66 kB / 388.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01287, allocations: 4 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.0129, allocations: 27.61 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01315, allocations: 30.25 kB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.01384, allocations: 0.5978 MB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.01392, allocations: 123.2 kB / 389.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01396, allocations: 16.72 kB / 389.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.01399, allocations: 16.5 kB / 389.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01399, allocations: 0 / 389.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of Templates: time 0.004418/0.01841, allocations: 1.622 MB / 391.1 MB, free: 5.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.4604855524376035]