Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001689/0.001689, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002151/0.002151, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.572/1.572, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.3523/0.3523, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/4.065e-05, allocations: 8.781 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.005261/0.005302, allocations: 1.723 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.008215, allocations: 0.9775 MB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.008321, allocations: 0 / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.008724, allocations: 59.62 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.009266, allocations: 95.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.009645, allocations: 79.61 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.009932, allocations: 111.6 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.01003, allocations: 4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.01021, allocations: 59.81 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.01032, allocations: 31.86 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.01034, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.0105, allocations: 43.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.01058, allocations: 27.91 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.01065, allocations: 19.88 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.01103, allocations: 127.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.01103, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01104, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.01104, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 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.001017/0.01206, allocations: 353.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.01212, allocations: 16.03 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.01225, allocations: 16.83 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.01273, allocations: 162.3 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.01276, allocations: 12.3 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.01279, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.01301, allocations: 58.17 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.01303, allocations: 4.188 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.01304, allocations: 384 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01305, allocations: 3.938 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.01317, allocations: 19.98 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.01372, allocations: 240.6 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01398, allocations: 54.62 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.01408, allocations: 20.84 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.0141, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.01434, allocations: 75.28 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.01434, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008518/0.01519, allocations: 193.3 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.01526, allocations: 55.39 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.01567, allocations: 243.6 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.01571, allocations: 33.7 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01583, allocations: 104.1 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.01587, allocations: 19.86 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.01595, allocations: 29.7 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.01621, allocations: 322.8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01631, allocations: 23.98 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01643, allocations: 41.64 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.01663, allocations: 57.7 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01663, allocations: 8 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003528/0.01698, allocations: 113.5 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.017, allocations: 4 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.01701, allocations: 4 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.01704, allocations: 384 / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01719, allocations: 15.98 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01719, allocations: 160 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.01728, allocations: 8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.0173, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.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 (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.0001863/0.01748, allocations: 141.7 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.01754, allocations: 19.84 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.01795, allocations: 131 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.01795, allocations: 7.938 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01796, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01796, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/0.0187, allocations: 350.9 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0187, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.01877, allocations: 12 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01877, allocations: 32 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01879, allocations: 8 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.01879, allocations: 3.984 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01879, allocations: 4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.01924, allocations: 216.2 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.01927, allocations: 7.953 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.01931, allocations: 8 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.01945, allocations: 3.984 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.0195, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.01952, allocations: 7.984 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.01981, allocations: 175.2 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01981, allocations: 4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004989/0.02031, allocations: 23.98 kB / 384 MB, free: 11.81 MB / 362.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: 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.003277/0.02359, allocations: 494.6 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.02391, allocations: 67.89 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.02391, allocations: 0 / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.02405, allocations: 31.92 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.02466, allocations: 27.94 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.02552, allocations: 268.9 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.02571, allocations: 104.9 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.94e-05/0.0258, allocations: 21.22 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.02588, allocations: 20.48 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02588, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.008208/0.03409, allocations: 1.866 MB / 386.9 MB, free: 9.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.031489651999436]