Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.0008256/0.0008256, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003378/0.003378, allocations: 156 kB / 24.7 MB, free: 9.434 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.8477/0.8477, allocations: 177 MB / 204.9 MB, free: 5.73 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.265/0.265, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.433e-05, allocations: 2.281 kB / 443.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.1981/0.1981, allocations: 1.816 MB / 445.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1993, allocations: 0.9697 MB / 446.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.1993, allocations: 0 / 446.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1995, allocations: 67.97 kB / 446.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1998, allocations: 123.7 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2001, allocations: 166.2 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.2003, allocations: 204.9 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.2004, allocations: 16.22 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2005, allocations: 105.2 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2006, allocations: 94.14 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2006, allocations: 11.59 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.2007, allocations: 42.77 kB / 447 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.2008, allocations: 50.28 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.2008, allocations: 47.55 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.201, allocations: 198.3 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.201, allocations: 3.234 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.201, allocations: 1.406 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.201, allocations: 0 / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006428/0.2017, allocations: 0.5013 MB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2017, allocations: 8.844 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.2017, allocations: 21.64 kB / 447.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2019, allocations: 166.7 kB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2019, allocations: 3.344 kB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.202, allocations: 5.531 kB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.2023, allocations: 150.5 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2023, allocations: 2.875 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2023, allocations: 384 / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2023, allocations: 6.469 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.2026, allocations: 166.6 kB / 448.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.2029, allocations: 285.5 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2033, allocations: 187.3 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2035, allocations: 91.36 kB / 448.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.2035, allocations: 10.45 kB / 448.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.2039, allocations: 166.6 kB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2039, allocations: 0 / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001755/0.2056, allocations: 0.8129 MB / 449.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2057, allocations: 58.31 kB / 449.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.2058, allocations: 250.8 kB / 450.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2058, allocations: 33.7 kB / 450.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.2059, allocations: 119.9 kB / 450.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2059, allocations: 36.61 kB / 450.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.206, allocations: 32.7 kB / 450.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.206, allocations: 331.1 kB / 450.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.2064, allocations: 226.8 kB / 451 MB, free: 40.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.2067, allocations: 225 kB / 451.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.2073, allocations: 370.2 kB / 451.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2073, allocations: 0 / 451.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000714/0.208, allocations: 0.5145 MB / 452.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.208, allocations: 63.02 kB / 452.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.208, allocations: 0 / 452.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2081, allocations: 3.938 kB / 452.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2082, allocations: 67.98 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2083, allocations: 6 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2084, allocations: 67.41 kB / 452.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2084, allocations: 2.781 kB / 452.3 MB, free: 40.06 MB / 410.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.73e-05/0.2085, allocations: 140.8 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.2085, allocations: 16.62 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.2092, allocations: 408.8 kB / 452.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2092, allocations: 6.438 kB / 452.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2092, allocations: 7.125 kB / 452.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2092, allocations: 0 / 452.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.21, allocations: 0.6208 MB / 453.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.21, allocations: 6.688 kB / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2102, allocations: 67.39 kB / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2102, allocations: 0 / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2102, allocations: 2.719 kB / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2102, allocations: 3.234 kB / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2102, allocations: 0 / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.2108, allocations: 490.7 kB / 454 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.2108, allocations: 21.05 kB / 454 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2109, allocations: 0 / 454 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.211, allocations: 64.77 kB / 454.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.2111, allocations: 50.62 kB / 454.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2112, allocations: 10.34 kB / 454.1 MB, free: 39.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.2112, allocations: 175.2 kB / 454.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2112, allocations: 0 / 454.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.2114, allocations: 48.47 kB / 454.4 MB, free: 39.16 MB / 410.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006845/0.2121, allocations: 425.7 kB / 454.8 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007252/0.2128, allocations: 0.5141 MB / 455.3 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2128, allocations: 0 / 455.3 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.2132, allocations: 181.5 kB / 455.5 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2134, allocations: 42.38 kB / 455.5 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.214, allocations: 370 kB / 455.9 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.214, allocations: 114.1 kB / 456 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.2141, allocations: 23.19 kB / 456 MB, free: 38.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2141, allocations: 0 / 456 MB, free: 38.38 MB / 410.7 MB Notification: Performance of Templates: time 0.003237/0.2173, allocations: 3.276 MB / 459.3 MB, free: 38.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.032405558973551]