Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001035/0.001035, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.005911/0.005911, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.898/0.898, allocations: 177 MB / 204.9 MB, free: 5.734 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.2581/0.2581, allocations: 34.24 MB / 295.6 MB, free: 0.668 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.641e-05, allocations: 2.281 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.202/0.202, allocations: 1.666 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.2028, allocations: 0.5667 MB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.2029, allocations: 2.938 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.2033, allocations: 455.3 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.2037, allocations: 296.3 kB / 446.4 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.204, allocations: 185.3 kB / 446.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2042, allocations: 181.5 kB / 446.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2044, allocations: 16.28 kB / 446.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2045, allocations: 120.4 kB / 446.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2047, allocations: 241.9 kB / 447.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2047, allocations: 5.656 kB / 447.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.2048, allocations: 54.64 kB / 447.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.2048, allocations: 88.31 kB / 447.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.2049, allocations: 40.81 kB / 447.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2051, allocations: 263.2 kB / 447.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2051, allocations: 0 / 447.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.2051, allocations: 0 / 447.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.2051, allocations: 2.938 kB / 447.6 MB, free: 43.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004567/0.2056, allocations: 0.5814 MB / 448.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2056, allocations: 11.89 kB / 448.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.2057, allocations: 44.44 kB / 448.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2058, allocations: 247.3 kB / 448.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2058, allocations: 384 / 448.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.2059, allocations: 5.906 kB / 448.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.206, allocations: 64.62 kB / 448.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.206, allocations: 192 / 448.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.206, allocations: 11.16 kB / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.206, allocations: 384 / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.2061, allocations: 34.12 kB / 448.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2064, allocations: 335.4 kB / 448.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.2065, allocations: 49.55 kB / 449 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.2065, allocations: 21.39 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.2066, allocations: 14.33 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.2066, allocations: 30.56 kB / 449 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2066, allocations: 0 / 449 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006454/0.2072, allocations: 328.8 kB / 449.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2072, allocations: 62.33 kB / 449.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.2077, allocations: 0.8605 MB / 450.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.2077, allocations: 29.64 kB / 450.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.2078, allocations: 213.9 kB / 450.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2078, allocations: 29.94 kB / 450.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.2079, allocations: 21 kB / 450.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.2079, allocations: 363.4 kB / 450.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.208, allocations: 32.84 kB / 450.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.208, allocations: 34.31 kB / 451 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.2081, allocations: 75.69 kB / 451 MB, free: 40.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2081, allocations: 0 / 451 MB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.2083, allocations: 145.2 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2083, allocations: 6.219 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2083, allocations: 0 / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2083, allocations: 0 / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.2084, allocations: 21.75 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2084, allocations: 3.938 kB / 451.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.2084, allocations: 10.11 kB / 451.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2084, allocations: 7.375 kB / 451.2 MB, free: 40.74 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: 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 0.0001103/0.2085, allocations: 223.6 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2086, allocations: 47.52 kB / 451.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.2088, allocations: 167.4 kB / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2088, allocations: 2.969 kB / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2088, allocations: 0 / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2088, allocations: 0 / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.2092, allocations: 470.4 kB / 452.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2092, allocations: 3.938 kB / 452.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.2092, allocations: 20.89 kB / 452.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2092, allocations: 0 / 452.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2092, allocations: 6.141 kB / 452.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2092, allocations: 0 / 452.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2092, allocations: 0 / 452.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2094, allocations: 254.1 kB / 452.4 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.2094, allocations: 38.97 kB / 452.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2094, allocations: 0 / 452.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.2095, allocations: 9.156 kB / 452.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2095, allocations: 14.05 kB / 452.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2095, allocations: 6.812 kB / 452.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00034/0.2099, allocations: 0.6473 MB / 453.1 MB, free: 39.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2099, allocations: 0 / 453.1 MB, free: 39.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.2101, allocations: 32.38 kB / 453.1 MB, free: 39.69 MB / 410.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.0008146/0.2109, allocations: 483.3 kB / 453.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2111, allocations: 74.12 kB / 453.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2111, allocations: 6.844 kB / 453.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.2111, allocations: 37.42 kB / 453.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2114, allocations: 32.86 kB / 453.8 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007842/0.2122, allocations: 0.8735 MB / 454.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2123, allocations: 223.2 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2124, allocations: 20.97 kB / 454.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2124, allocations: 0 / 454.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of Templates: time 0.004689/0.2171, allocations: 4.2 MB / 459.1 MB, free: 38.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.744754150509834]