Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.000795/0.000795, 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.003697/0.003697, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.8911/0.8911, allocations: 177 MB / 204.9 MB, free: 5.742 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.2587/0.2587, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.665e-05, allocations: 9.094 kB / 443.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.2009/0.201, allocations: 1.655 MB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.2017, allocations: 0.5707 MB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2018, allocations: 2.5 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.2022, allocations: 456.9 kB / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.2025, allocations: 301.8 kB / 446.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.2028, allocations: 170.7 kB / 446.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.203, allocations: 179 kB / 446.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2031, allocations: 17.44 kB / 446.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.2032, allocations: 129.9 kB / 446.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.2034, allocations: 241.2 kB / 447.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2034, allocations: 3.031 kB / 447.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.2035, allocations: 56.92 kB / 447.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.2035, allocations: 88.66 kB / 447.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2036, allocations: 38.91 kB / 447.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.2038, allocations: 259.8 kB / 447.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2038, allocations: 0 / 447.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2038, allocations: 0 / 447.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2038, allocations: 0 / 447.6 MB, free: 43.11 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.0004606/0.2043, allocations: 0.5856 MB / 448.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2043, allocations: 11.44 kB / 448.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.2044, allocations: 44.22 kB / 448.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2045, allocations: 245.8 kB / 448.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2045, allocations: 3.156 kB / 448.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2045, allocations: 3.188 kB / 448.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.2047, allocations: 72 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2047, allocations: 192 / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2047, allocations: 3.281 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2047, allocations: 4.375 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.2048, allocations: 38.61 kB / 448.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.2051, allocations: 340 kB / 448.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.2051, allocations: 42.67 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.2052, allocations: 20.8 kB / 449 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2052, allocations: 3.938 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2052, allocations: 33.5 kB / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2052, allocations: 0 / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005949/0.2058, allocations: 338.9 kB / 449.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2058, allocations: 55.41 kB / 449.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.2063, allocations: 0.8586 MB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2063, allocations: 29.64 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.2064, allocations: 216.4 kB / 450.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.2064, allocations: 30.53 kB / 450.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.2064, allocations: 22.47 kB / 450.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2065, allocations: 367.7 kB / 450.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.2065, allocations: 26.86 kB / 450.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.2065, allocations: 31.11 kB / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.2066, allocations: 72.8 kB / 451 MB, free: 40.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2066, allocations: 0 / 451 MB, free: 40.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001333/0.2068, allocations: 153.1 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2068, allocations: 5.625 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2068, allocations: 0 / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2068, allocations: 0 / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.2069, allocations: 17.47 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2069, allocations: 3.344 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.2069, allocations: 6.25 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2069, allocations: 5.641 kB / 451.2 MB, free: 40.73 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.0001053/0.207, allocations: 217.5 kB / 451.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.207, allocations: 55.52 kB / 451.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.2072, allocations: 173.5 kB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2072, allocations: 5.016 kB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2072, allocations: 2.844 kB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2072, allocations: 0 / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.2076, allocations: 467.3 kB / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2076, allocations: 4.031 kB / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.2076, allocations: 17.28 kB / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2076, allocations: 0 / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2076, allocations: 2.844 kB / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2076, allocations: 0 / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2076, allocations: 0 / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2077, allocations: 257.3 kB / 452.4 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.2078, allocations: 32.56 kB / 452.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2078, allocations: 2.594 kB / 452.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.2078, allocations: 14.12 kB / 452.4 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2078, allocations: 13.2 kB / 452.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2079, allocations: 6.688 kB / 452.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003143/0.2082, allocations: 0.6507 MB / 453.1 MB, free: 39.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2082, allocations: 0 / 453.1 MB, free: 39.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.2083, allocations: 30.59 kB / 453.1 MB, free: 39.68 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.0007447/0.2091, allocations: 495.4 kB / 453.6 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.2092, allocations: 72.28 kB / 453.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2092, allocations: 0 / 453.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.2093, allocations: 40.73 kB / 453.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2096, allocations: 25.73 kB / 453.8 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.2103, allocations: 0.8707 MB / 454.6 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2104, allocations: 232.9 kB / 454.9 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.2104, allocations: 14.31 kB / 454.9 MB, free: 38.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2104, allocations: 0 / 454.9 MB, free: 38.94 MB / 410.7 MB Notification: Performance of Templates: time 0.004277/0.2147, allocations: 4.199 MB / 459.1 MB, free: 38.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.071594571694732]