Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1525/0.1525, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.776e-05, allocations: 10.19 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002228/0.002256, allocations: 1.736 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.003167, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.003246, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.003566, allocations: 35.77 kB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.003806, allocations: 55.7 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.004031, allocations: 83.7 kB / 350.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.00418, allocations: 99.69 kB / 350.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.004273, allocations: 12.22 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.00435, allocations: 51.78 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.004423, allocations: 23.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004442, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.004524, allocations: 43.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.004573, allocations: 23.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.004611, allocations: 19.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.00478, allocations: 91.61 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004783, allocations: 3.984 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004784, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.004789, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.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.0004218/0.005211, allocations: 432 kB / 351.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.005251, allocations: 12.03 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.005303, allocations: 8.891 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.005453, allocations: 145 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.005472, allocations: 4.375 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.005492, allocations: 4.375 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.005632, allocations: 66.25 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.005645, allocations: 0 / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005655, allocations: 4 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.005664, allocations: 0 / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.005702, allocations: 15.98 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.005987, allocations: 287.7 kB / 351.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006092, allocations: 55.11 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.006121, allocations: 19.67 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.006133, allocations: 0 / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.664e-05/0.00623, allocations: 65.05 kB / 351.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006231, allocations: 0 / 351.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003985/0.00663, allocations: 161.3 kB / 352.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.006661, allocations: 55.41 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.006752, allocations: 209.8 kB / 352.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.006761, allocations: 25.7 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.006796, allocations: 142.9 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.006824, allocations: 27.78 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.006855, allocations: 27.38 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.006903, allocations: 0.5 MB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.006928, allocations: 11.98 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.00696, allocations: 39.69 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.007011, allocations: 43.38 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007013, allocations: 4 kB / 353.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.993e-05/0.007113, allocations: 93.56 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.007127, allocations: 11.92 kB / 353.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007132, allocations: 0 / 353.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.007147, allocations: 0 / 353.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.007225, allocations: 20 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.007231, allocations: 0 / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.00726, allocations: 3.938 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007269, allocations: 7.984 kB / 353.3 MB, free: 3.586 MB / 282.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 5.971e-05/0.007328, allocations: 168.5 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.007343, allocations: 15.91 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.00749, allocations: 106.5 kB / 353.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007493, allocations: 0 / 353.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.007498, allocations: 4 kB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007502, allocations: 0 / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.007739, allocations: 385 kB / 353.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007741, allocations: 0 / 353.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.007769, allocations: 8 kB / 354 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007771, allocations: 0 / 354 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.007779, allocations: 8.031 kB / 354 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.007781, allocations: 3.938 kB / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007782, allocations: 0 / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.007895, allocations: 259.5 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.007906, allocations: 11.94 kB / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.007924, allocations: 4 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.007964, allocations: 7.938 kB / 354.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.007999, allocations: 7.984 kB / 354.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.008013, allocations: 4 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.008057, allocations: 155.2 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008057, allocations: 4 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.008228, allocations: 23.94 kB / 354.4 MB, free: 2.348 MB / 282.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.0008786/0.009107, allocations: 441.4 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.009242, allocations: 59.53 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009244, allocations: 0 / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.009279, allocations: 31.67 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.009517, allocations: 27.83 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.009837, allocations: 213.4 kB / 355.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.009868, allocations: 67.33 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.009903, allocations: 16.48 kB / 355.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.009933, allocations: 16.48 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009934, allocations: 4 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of Templates: time 0.004037/0.01397, allocations: 1.959 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.3380872271955013]