Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.00146/0.00146, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001587/0.001587, allocations: 156.9 kB / 24.26 MB, free: 144 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.492/1.492, allocations: 177 MB / 204.5 MB, free: 5.602 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.3596/0.3596, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.83e-05, allocations: 8.422 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003204/0.003232, allocations: 1.708 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.00514, allocations: 0.9775 MB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.005209, allocations: 3.938 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.005514, allocations: 43.7 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.005848, allocations: 99.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.006063, allocations: 79.61 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.006261, allocations: 103.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00637, allocations: 15.98 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.006486, allocations: 51.83 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.006575, allocations: 31.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.006596, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.0067, allocations: 43.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.006763, allocations: 23.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.00682, allocations: 23.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.007067, allocations: 123.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.00707, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007071, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007076, allocations: 0 / 380.6 MB, free: 15.46 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.0006537/0.00773, allocations: 349.6 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.007766, allocations: 8.031 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.007834, allocations: 16.84 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.008119, allocations: 154 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.008136, allocations: 4.375 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.00816, allocations: 384 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.008344, allocations: 62.17 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.008359, allocations: 4.188 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.008369, allocations: 384 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.008379, allocations: 3.938 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.008476, allocations: 23.98 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.00892, allocations: 232.6 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.009124, allocations: 62.61 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.009202, allocations: 20.84 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.009226, allocations: 3.984 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.0094, allocations: 71.33 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009401, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006474/0.01005, allocations: 189.3 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.0101, allocations: 59.34 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.01037, allocations: 210.4 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.0104, allocations: 29.7 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.01049, allocations: 104.1 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.01053, allocations: 23.81 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.01058, allocations: 25.7 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004054/0.01098, allocations: 322.8 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01105, allocations: 20 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.01115, allocations: 41.64 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.01131, allocations: 69.69 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01131, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002436/0.01155, allocations: 109.5 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.01158, allocations: 8 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01158, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.0116, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01172, allocations: 15.98 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01173, allocations: 4.156 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.01178, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01179, allocations: 8.031 kB / 382.8 MB, free: 13.06 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.0001661/0.01196, allocations: 136 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.01199, allocations: 19.84 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.01231, allocations: 127 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01231, allocations: 0 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01231, allocations: 0 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01232, allocations: 0 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.01284, allocations: 359.2 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01284, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.01289, allocations: 20.02 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01289, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.0129, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0129, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0129, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01321, allocations: 216.2 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.01324, allocations: 19.89 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01326, allocations: 0 / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.01334, allocations: 4 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01339, allocations: 11.92 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.01341, allocations: 12 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01357, allocations: 155.2 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01357, allocations: 0 / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01384, allocations: 23.98 kB / 383.9 MB, free: 11.91 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.002251/0.01609, allocations: 492.5 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.01629, allocations: 55.91 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0163, allocations: 3.938 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.01638, allocations: 28 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.01676, allocations: 31.95 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.01735, allocations: 249.3 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.01747, allocations: 96.92 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.01753, allocations: 13.28 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.01758, allocations: 24.48 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01758, allocations: 0 / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.005647/0.02323, allocations: 1.873 MB / 386.8 MB, free: 9.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.800752576906234]