Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.00182/0.00182, allocations: 88.2 kB / 20.68 MB, free: 1.02 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.001635/0.001635, allocations: 158.7 kB / 23.95 MB, free: 4.152 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.507/1.507, allocations: 177 MB / 204.1 MB, free: 9.145 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.2213/0.2213, allocations: 34.26 MB / 294.8 MB, free: 14.51 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 442.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.501e-05, allocations: 2.281 kB / 442.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003156/0.003181, allocations: 1.716 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.005446, allocations: 0.9735 MB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.005584, allocations: 4 kB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.005971, allocations: 43.75 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.006379, allocations: 99.48 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.006659, allocations: 79.55 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.006892, allocations: 107.7 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.006983, allocations: 4 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.007109, allocations: 59.77 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.007201, allocations: 27.91 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.007225, allocations: 8 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.007351, allocations: 39.98 kB / 445.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.007417, allocations: 23.91 kB / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.007465, allocations: 15.94 kB / 445.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.007712, allocations: 119.5 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007715, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007716, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.007726, allocations: 0 / 446.1 MB, free: 1.852 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.0006191/0.008345, allocations: 345.6 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.008394, allocations: 8.031 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.008451, allocations: 16.84 kB / 446.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.008756, allocations: 158.9 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.008772, allocations: 8.312 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.008796, allocations: 384 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.008949, allocations: 54.23 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.008961, allocations: 4.188 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.008971, allocations: 384 / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008977, allocations: 3.938 kB / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.00906, allocations: 27.97 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.009446, allocations: 236.4 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.009643, allocations: 62.69 kB / 447 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.009714, allocations: 20.84 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.00973, allocations: 0 / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.009886, allocations: 71.33 kB / 447 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009887, allocations: 0 / 447 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000633/0.01052, allocations: 185.3 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.01057, allocations: 55.39 kB / 447.3 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.0108, allocations: 202.2 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01082, allocations: 33.7 kB / 447.5 MB, free: 248 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.0109, allocations: 100.1 kB / 447.6 MB, free: 144 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.01094, allocations: 31.72 kB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.01099, allocations: 21.72 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1879/0.1989, allocations: 318.8 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.199, allocations: 22.38 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1991, allocations: 37.19 kB / 448 MB, free: 18.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1993, allocations: 59.98 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1993, allocations: 0 / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002634/0.1995, allocations: 108.9 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1995, allocations: 5.719 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1995, allocations: 1.094 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1996, allocations: 1.125 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1997, allocations: 17.95 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1997, allocations: 5.438 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.1997, allocations: 10.5 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1998, allocations: 4.391 kB / 448.2 MB, free: 18.88 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 0.0001026/0.1999, allocations: 124.3 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1999, allocations: 11.06 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.2002, allocations: 125.4 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2002, allocations: 1.219 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2002, allocations: 3.938 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2002, allocations: 0.6562 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.2007, allocations: 353.2 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2007, allocations: 3.953 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.2007, allocations: 10.06 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2008, allocations: 1.25 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2008, allocations: 14.05 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2008, allocations: 1.781 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2008, allocations: 1.188 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.201, allocations: 212.4 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2011, allocations: 12.89 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2011, allocations: 9.5 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.2012, allocations: 3.094 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.2012, allocations: 10.22 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.2012, allocations: 11.25 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2014, allocations: 149.4 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2014, allocations: 0 / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.2016, allocations: 25.23 kB / 449.3 MB, free: 18.26 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.00191/0.2036, allocations: 490.8 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.2038, allocations: 64.42 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2038, allocations: 0 / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.2039, allocations: 25.47 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2043, allocations: 33.34 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.2048, allocations: 239.3 kB / 450.1 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2049, allocations: 93.34 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.2049, allocations: 21.34 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.205, allocations: 17.39 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.205, allocations: 0 / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of Templates: time 0.005815/0.2108, allocations: 1.851 MB / 452.1 MB, free: 17.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.085489798337221]