Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001033/0.001033, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001087/0.001087, allocations: 171.8 kB / 24.82 MB, free: 9.254 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 0.978/0.978, allocations: 177 MB / 205.1 MB, free: 5.473 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.2527/0.2527, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 266.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 4 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.434e-05, allocations: 3.297 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001812/0.001826, allocations: 1.712 MB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002872, allocations: 0.9878 MB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.002934, allocations: 0 / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.003192, allocations: 95.55 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.003446, allocations: 123.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.00358, allocations: 71.62 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.003709, allocations: 115.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.00374, allocations: 4.219 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003845, allocations: 63.81 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.003927, allocations: 55.83 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.003938, allocations: 4 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.003996, allocations: 39.91 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.004036, allocations: 23.92 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.004066, allocations: 15.94 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004199, allocations: 95.59 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004201, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004201, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004204, allocations: 0 / 382.7 MB, free: 14.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003556/0.00456, allocations: 455.8 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004589, allocations: 8.031 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.00462, allocations: 12.89 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.004742, allocations: 156.4 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.004755, allocations: 384 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.004761, allocations: 384 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.004846, allocations: 58.94 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004853, allocations: 192 / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004859, allocations: 4.375 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004865, allocations: 3.938 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.004885, allocations: 11.92 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.004988, allocations: 113.3 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.136e-05/0.00506, allocations: 43.11 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.005077, allocations: 11.69 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.005092, allocations: 7.984 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.143e-05/0.005173, allocations: 65 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005174, allocations: 4 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001365/0.00531, allocations: 81.56 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.005332, allocations: 51.41 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.005447, allocations: 242.6 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.00546, allocations: 29.7 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.005511, allocations: 154.9 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.005535, allocations: 27.77 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.005562, allocations: 23.36 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005674, allocations: 0.4962 MB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005689, allocations: 11.97 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.00571, allocations: 23.38 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.005748, allocations: 39.56 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005749, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.551e-05/0.005815, allocations: 69.53 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.005824, allocations: 12.03 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.005828, allocations: 3.984 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.005838, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.005884, allocations: 12 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005889, allocations: 7.938 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.005913, allocations: 0 / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005918, allocations: 4 kB / 384.9 MB, free: 11.89 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 (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.281e-05/0.005981, allocations: 160.5 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.005995, allocations: 19.91 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.434e-05/0.006089, allocations: 78.77 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006092, allocations: 8 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.006093, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006096, allocations: 3.938 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543e-05/0.006172, allocations: 121.2 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006174, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.006187, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006188, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.006193, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006193, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006194, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.006272, allocations: 124.2 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.006284, allocations: 16.14 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.006297, allocations: 4 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.006315, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.006335, allocations: 7.984 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.006343, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.006404, allocations: 181 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006404, allocations: 0 / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001321/0.006536, allocations: 27.88 kB / 385.7 MB, free: 11.08 MB / 362.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.0006948/0.007231, allocations: 371.8 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.007309, allocations: 39.59 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00731, allocations: 0 / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.007335, allocations: 23.67 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.007497, allocations: 39.98 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.007751, allocations: 200.9 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.007784, allocations: 71.33 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.753e-05/0.007811, allocations: 12.48 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.007867, allocations: 82.19 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.007867, allocations: 4 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.002897/0.01076, allocations: 1.787 MB / 388.3 MB, free: 8.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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: 2.941676767077297]