Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001213/0.001213, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001754/0.001754, allocations: 157.1 kB / 25.6 MB, free: 8.477 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 1.053/1.053, allocations: 177 MB / 205.9 MB, free: 4.449 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.1595/0.1595, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.967e-05, allocations: 3 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002741/0.002771, allocations: 1.713 MB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004118, allocations: 0.9813 MB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004233, allocations: 0 / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.004666, allocations: 47.81 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.00503, allocations: 107.4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.005254, allocations: 75.66 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.005441, allocations: 99.64 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.005521, allocations: 8.219 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.005649, allocations: 55.83 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.005758, allocations: 23.92 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.005779, allocations: 4 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.005881, allocations: 35.92 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.005956, allocations: 31.84 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.006001, allocations: 15.94 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.006218, allocations: 107.5 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.006221, allocations: 0 / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.006223, allocations: 0 / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.006228, allocations: 0 / 383.4 MB, free: 19.34 MB / 314.7 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.0004878/0.006716, allocations: 471.7 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.006756, allocations: 16.03 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.006801, allocations: 16.84 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.006963, allocations: 157.3 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.006985, allocations: 4.375 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.006994, allocations: 384 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.007125, allocations: 62.88 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007136, allocations: 192 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.007144, allocations: 384 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.007152, allocations: 3.938 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.00718, allocations: 11.98 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.007321, allocations: 121.3 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.007435, allocations: 43.09 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.007461, allocations: 23.67 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.007476, allocations: 3.938 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.00759, allocations: 61.05 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.007591, allocations: 0 / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001932/0.007784, allocations: 77.59 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.007812, allocations: 55.39 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007933, allocations: 277.4 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.007944, allocations: 41.58 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.00799, allocations: 166.8 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.00803, allocations: 11.91 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.008069, allocations: 27.36 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.00816, allocations: 0.5079 MB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.008182, allocations: 4 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.008211, allocations: 31.34 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.008259, allocations: 31.61 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008261, allocations: 0 / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001031/0.008364, allocations: 81.53 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.008384, allocations: 9.562 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.008392, allocations: 0 / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.008405, allocations: 0 / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.008485, allocations: 11.98 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.00849, allocations: 3.938 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.008525, allocations: 4 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.008531, allocations: 4 kB / 385.7 MB, free: 16.82 MB / 314.7 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 6.792e-05/0.008599, allocations: 162.5 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.008615, allocations: 15.91 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.008739, allocations: 86.84 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008742, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.008744, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.00875, allocations: 3.938 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/0.00884, allocations: 121.2 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008841, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.008869, allocations: 11.98 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008871, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.008877, allocations: 4 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008879, allocations: 3.938 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00888, allocations: 4 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.967e-05/0.008969, allocations: 120.3 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.008986, allocations: 15.84 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.009002, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.009028, allocations: 4.188 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.009057, allocations: 7.984 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.00907, allocations: 4 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.808e-05/0.009148, allocations: 192.4 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009148, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.009309, allocations: 16 kB / 386.4 MB, free: 15.99 MB / 314.7 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.0008891/0.0102, allocations: 384.9 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01032, allocations: 35.59 kB / 386.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01032, allocations: 4 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.01035, allocations: 27.73 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01059, allocations: 43.58 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.01102, allocations: 224.5 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.01107, allocations: 79.19 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.01112, allocations: 16.47 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.01119, allocations: 86.19 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01119, allocations: 0 / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.004155/0.01534, allocations: 1.831 MB / 389.2 MB, free: 13.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7545790588483214]