Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001441/0.001441, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.001478/0.001478, allocations: 158.8 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.515/1.515, 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.2275/0.2275, allocations: 34.26 MB / 294.8 MB, free: 14.5 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.815e-05, allocations: 6.219 kB / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003172/0.0032, allocations: 1.677 MB / 444.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005253, allocations: 0.9542 MB / 445.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.005394, allocations: 7.938 kB / 445.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.00577, allocations: 51.69 kB / 445.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.00622, allocations: 99.53 kB / 445.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.006497, allocations: 79.61 kB / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.00675, allocations: 107.6 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.006816, allocations: 4.234 kB / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.006957, allocations: 47.84 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.007075, allocations: 27.91 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.007106, allocations: 7.938 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.007227, allocations: 35.92 kB / 445.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.007325, allocations: 23.92 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.007391, allocations: 19.88 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.00772, allocations: 123.6 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.007725, allocations: 0 / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007726, allocations: 0 / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.007733, allocations: 0 / 446 MB, free: 1.914 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000752/0.008485, allocations: 369.3 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.008527, allocations: 8.031 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.008595, allocations: 20.78 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.00891, allocations: 158.5 kB / 446.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.008927, allocations: 4.359 kB / 446.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.008944, allocations: 4.375 kB / 446.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.009113, allocations: 50.23 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.009123, allocations: 192 / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.009134, allocations: 384 / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.009143, allocations: 3.938 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.009221, allocations: 15.98 kB / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.009444, allocations: 145.2 kB / 446.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.009645, allocations: 58.59 kB / 446.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.009714, allocations: 20.84 kB / 446.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.009731, allocations: 0 / 446.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.009909, allocations: 71.39 kB / 446.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.009911, allocations: 0 / 446.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000339/0.01025, allocations: 101.5 kB / 447 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.0103, allocations: 63.34 kB / 447.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.0106, allocations: 271 kB / 447.3 MB, free: 444 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01062, allocations: 29.7 kB / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.0107, allocations: 112.1 kB / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.01074, allocations: 19.84 kB / 447.5 MB, free: 272 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.01079, allocations: 21.7 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1833/0.194, allocations: 326.8 kB / 447.8 MB, free: 19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1942, allocations: 10.78 kB / 447.8 MB, free: 19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.1942, allocations: 29.48 kB / 447.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1944, allocations: 51.95 kB / 447.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1944, allocations: 0 / 447.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002367/0.1946, allocations: 89.27 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1946, allocations: 5.188 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1946, allocations: 1.219 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1947, allocations: 3.5 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1948, allocations: 14.78 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1948, allocations: 1.062 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.1948, allocations: 3.656 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1949, allocations: 6.922 kB / 448 MB, free: 18.94 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 (7): * Single equations (assignments): 7 * 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.0001215/0.195, allocations: 137.6 kB / 448.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.195, allocations: 15.22 kB / 448.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.1952, allocations: 98.53 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1952, allocations: 3.938 kB / 448.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1952, allocations: 4.688 kB / 448.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1953, allocations: 0.6562 kB / 448.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1954, allocations: 143.6 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1954, allocations: 3.594 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.1954, allocations: 6.516 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1954, allocations: 1.719 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1954, allocations: 0.875 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1954, allocations: 1.672 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1954, allocations: 3.938 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1956, allocations: 122.6 kB / 448.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.1956, allocations: 16.12 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1957, allocations: 1.875 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.1957, allocations: 7.594 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.1958, allocations: 7.875 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1958, allocations: 3.125 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.196, allocations: 209.7 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 0 / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1962, allocations: 22.53 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001584/0.1978, allocations: 431.3 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.198, allocations: 45.98 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.198, allocations: 3.375 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.198, allocations: 18.88 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1983, allocations: 27.95 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.1989, allocations: 268.5 kB / 449.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.199, allocations: 107.3 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.199, allocations: 13.92 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1991, allocations: 14.8 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1991, allocations: 1.156 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of Templates: time 0.005216/0.2043, allocations: 1.643 MB / 451.4 MB, free: 17.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.906995330005884]