Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1514/0.1514, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.062e-05, allocations: 5.547 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003032/0.003063, allocations: 1.689 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000894/0.003957, allocations: 0.5492 MB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.004055, allocations: 0 / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.004609, allocations: 451 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.005097, allocations: 295.2 kB / 380.3 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.00545, allocations: 135.6 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.005699, allocations: 175.6 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005808, allocations: 15.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.005957, allocations: 123.8 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.006244, allocations: 243.6 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.006271, allocations: 4 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.006386, allocations: 55.91 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.006472, allocations: 79.72 kB / 381.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.006508, allocations: 43.67 kB / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.006736, allocations: 211.1 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006739, allocations: 0 / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00674, allocations: 0 / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006745, allocations: 0 / 381.3 MB, free: 21.54 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.0004428/0.007187, allocations: 0.7086 MB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007221, allocations: 11.98 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.007263, allocations: 48.66 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.007408, allocations: 256.7 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.007418, allocations: 384 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.007437, allocations: 8.375 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.00753, allocations: 58.94 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.007541, allocations: 4.188 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.007548, allocations: 4.125 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.007553, allocations: 0 / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.00758, allocations: 23.91 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.007831, allocations: 340.2 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.007889, allocations: 43.09 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.007905, allocations: 19.7 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.007921, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.007937, allocations: 37.38 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.007937, allocations: 0 / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004401/0.008378, allocations: 181.2 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.0084, allocations: 51.41 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.008662, allocations: 0.6079 MB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.00867, allocations: 25.7 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.008773, allocations: 302.7 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.008795, allocations: 23.75 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.008827, allocations: 31.36 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.008918, allocations: 0.5585 MB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.008934, allocations: 7.984 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.008948, allocations: 11.94 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.008985, allocations: 39.88 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008986, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.476e-05/0.009071, allocations: 101.4 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.009083, allocations: 4 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009088, allocations: 0 / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.009098, allocations: 4 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.009163, allocations: 12 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.009167, allocations: 7.922 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.009195, allocations: 8 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.0092, allocations: 0 / 384.8 MB, free: 17.82 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.239e-05/0.009262, allocations: 160.5 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.009297, allocations: 47.72 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.00943, allocations: 113.5 kB / 385.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009433, allocations: 4 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009435, allocations: 0 / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.00944, allocations: 4 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.009712, allocations: 433.4 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009713, allocations: 0 / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.009748, allocations: 19.92 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00975, allocations: 0 / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.009756, allocations: 8 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009757, allocations: 4.031 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009758, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.00985, allocations: 263.2 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.009869, allocations: 35.72 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.009884, allocations: 0 / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.009923, allocations: 8 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.009947, allocations: 11.92 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.009951, allocations: 4.359 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01009, allocations: 394.7 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01009, allocations: 0 / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.01026, allocations: 28 kB / 386.3 MB, free: 16.24 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.0008327/0.01109, allocations: 434.4 kB / 386.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.01117, allocations: 43.59 kB / 386.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01117, allocations: 0 / 386.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.01119, allocations: 23.67 kB / 386.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01143, allocations: 36.94 kB / 386.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.01191, allocations: 0.602 MB / 387.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01196, allocations: 127 kB / 387.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.01199, allocations: 28.95 kB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.01204, allocations: 82.19 kB / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01204, allocations: 0 / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003743/0.01578, allocations: 1.754 MB / 389.4 MB, free: 13.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.063713809940964]