Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001648/0.001648, allocations: 85.86 kB / 20.68 MB, free: 0.8906 MB / 14.72 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.001607/0.001607, allocations: 157.4 kB / 23.95 MB, free: 3.914 MB / 14.72 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.511/1.511, allocations: 177 MB / 204.1 MB, free: 9.125 MB / 190.1 MB " [Timeout remaining time 178] 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.2154/0.2154, allocations: 34.25 MB / 294.8 MB, free: 14.49 MB / 286.1 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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.966e-05, allocations: 2.281 kB / 442.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003098/0.003128, allocations: 1.72 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005016, allocations: 0.9813 MB / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.005099, allocations: 0 / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.005405, allocations: 39.77 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.005748, allocations: 99.47 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.005968, allocations: 79.55 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.00617, allocations: 107.7 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.006268, allocations: 7.984 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.006388, allocations: 51.78 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.006474, allocations: 27.91 kB / 445.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.006496, allocations: 8 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.006593, allocations: 39.98 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.006671, allocations: 23.91 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.006721, allocations: 23.86 kB / 445.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.006945, allocations: 115.6 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006948, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006949, allocations: 3.938 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.006953, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000576/0.007529, allocations: 345.6 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007566, allocations: 12.03 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.007617, allocations: 20.83 kB / 446.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.007881, allocations: 154.9 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.007895, allocations: 384 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.007919, allocations: 8.359 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.008081, allocations: 54.23 kB / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.008093, allocations: 192 / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.008104, allocations: 384 / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.008111, allocations: 3.938 kB / 446.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.008196, allocations: 23.92 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.008571, allocations: 236.5 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.008771, allocations: 62.67 kB / 447 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.008833, allocations: 16.86 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.008848, allocations: 0 / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.009015, allocations: 79.31 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.009017, allocations: 3.938 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000604/0.009621, allocations: 177.4 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.009675, allocations: 59.39 kB / 447.3 MB, free: 496 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.00989, allocations: 202.2 kB / 447.5 MB, free: 284 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.00991, allocations: 33.64 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.009987, allocations: 104.1 kB / 447.6 MB, free: 136 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.01002, allocations: 23.8 kB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.01007, allocations: 25.7 kB / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1851/0.1952, allocations: 322.8 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1953, allocations: 19.75 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.1954, allocations: 35.3 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1956, allocations: 62.91 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1956, allocations: 0 / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.1958, allocations: 107.2 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1958, allocations: 4.938 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1958, allocations: 3.656 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1959, allocations: 5.906 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.196, allocations: 17.95 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.196, allocations: 7.344 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.196, allocations: 2.312 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.196, allocations: 3.281 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.379e-05/0.1961, allocations: 125 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1962, allocations: 12.64 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1964, allocations: 120.6 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1964, allocations: 1.344 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1964, allocations: 6.812 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1964, allocations: 4.5 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.1969, allocations: 340.9 kB / 448.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1969, allocations: 4.531 kB / 448.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.1969, allocations: 10.72 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1969, allocations: 4.047 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1969, allocations: 9.375 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1969, allocations: 2.656 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1969, allocations: 1.812 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1971, allocations: 215.2 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.1972, allocations: 9.594 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1972, allocations: 6.312 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1973, allocations: 7.438 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1973, allocations: 16.73 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1973, allocations: 3.5 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1974, allocations: 149.2 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1974, allocations: 0 / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1977, allocations: 30.45 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001863/0.1996, allocations: 485.3 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1998, allocations: 60 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1998, allocations: 0 / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1999, allocations: 33.94 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.2003, allocations: 32.77 kB / 449.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.2007, allocations: 238.5 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.2008, allocations: 98.44 kB / 450.2 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.2009, allocations: 18.92 kB / 450.2 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.2009, allocations: 16.98 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2009, allocations: 1.188 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005397/0.2063, allocations: 1.845 MB / 452.1 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.976382467895746]