Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001048/0.001048, allocations: 84.25 kB / 22.22 MB, free: 2.277 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.001032/0.001032, allocations: 165.2 kB / 25.61 MB, free: 8.574 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.025/1.025, allocations: 177 MB / 205.9 MB, free: 4.441 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.1519/0.1519, 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.253e-05, allocations: 3.75 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001749/0.001761, allocations: 1.685 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000589/0.00235, allocations: 0.5368 MB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.002396, allocations: 4 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.002708, allocations: 451 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.002987, allocations: 299.2 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.003192, allocations: 127.6 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.003334, allocations: 171.6 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.0034, allocations: 19.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.003484, allocations: 115.8 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.003612, allocations: 239.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.003624, allocations: 8 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.003677, allocations: 27.98 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.003735, allocations: 87.7 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.00376, allocations: 39.73 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.003902, allocations: 203 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003904, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003904, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.003909, allocations: 0 / 384 MB, free: 18.73 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.0003477/0.004256, allocations: 0.6931 MB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.004282, allocations: 8.031 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.004318, allocations: 44.66 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004455, allocations: 252.8 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.004464, allocations: 8.312 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.004474, allocations: 384 / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.42e-05/0.004539, allocations: 58.94 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004547, allocations: 4.188 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.004552, allocations: 384 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004557, allocations: 384 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.004576, allocations: 11.92 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.004778, allocations: 332.3 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.004872, allocations: 39.05 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.004884, allocations: 19.69 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.004894, allocations: 0 / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.004907, allocations: 41.47 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004907, allocations: 0 / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002192/0.005127, allocations: 133.1 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/0.005143, allocations: 55.41 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.005375, allocations: 0.5962 MB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.00538, allocations: 25.7 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.005468, allocations: 306.7 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.005482, allocations: 11.84 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.005505, allocations: 31.36 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.005573, allocations: 0.5586 MB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.005582, allocations: 7.875 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.005591, allocations: 4 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.005616, allocations: 27.67 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.005616, allocations: 0 / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.163e-05/0.005678, allocations: 89.36 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.005687, allocations: 4 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.00569, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.005699, allocations: 288 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.428e-05/0.005733, allocations: 24.17 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005736, allocations: 0 / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.005757, allocations: 4 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005762, allocations: 4 kB / 387.4 MB, free: 15.15 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 5.162e-05/0.005813, allocations: 164.5 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.005842, allocations: 51.64 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.005929, allocations: 89.23 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.00593, allocations: 0 / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.005932, allocations: 0 / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005935, allocations: 0 / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.006131, allocations: 389.9 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006134, allocations: 3.938 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.006157, allocations: 12 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006159, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006164, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006164, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006166, allocations: 3.984 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.006243, allocations: 243.6 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.006263, allocations: 35.66 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006277, allocations: 4 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.006313, allocations: 4 kB / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.006335, allocations: 7.984 kB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.006338, allocations: 0 / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.006475, allocations: 390.7 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006475, allocations: 0 / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.006637, allocations: 27.98 kB / 388.8 MB, free: 13.69 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.000806/0.007443, allocations: 378.1 kB / 389.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.752e-05/0.00751, allocations: 35.62 kB / 389.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007511, allocations: 0 / 389.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.007528, allocations: 19.67 kB / 389.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.007737, allocations: 29.89 kB / 389.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.008188, allocations: 0.5704 MB / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.008236, allocations: 119.2 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.51e-05/0.008261, allocations: 11.98 kB / 389.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.008302, allocations: 82.19 kB / 390 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008302, allocations: 0 / 390 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003312/0.01161, allocations: 1.512 MB / 391.5 MB, free: 11.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.2390539031475782]