Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001384/0.001384, allocations: 110.4 kB / 21.17 MB, free: 0.7734 MB / 14.72 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.001618/0.001618, allocations: 213.4 kB / 24.47 MB, free: 4.359 MB / 14.72 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.588/1.588, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3011/0.3011, allocations: 46.88 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 87.84 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4704, allocations: 65.99 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004712/0.4751, allocations: 1.95 MB / 0.5632 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.4778, allocations: 1.146 MB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.478, allocations: 3.938 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.4786, allocations: 163.5 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007633/0.4794, allocations: 187.2 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.4799, allocations: 115.6 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.4804, allocations: 243.3 kB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.4806, allocations: 17.67 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.4809, allocations: 119.5 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.4812, allocations: 139.5 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.4812, allocations: 12 kB / 0.5653 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.4814, allocations: 63.97 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4815, allocations: 55.72 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.4817, allocations: 79.41 kB / 0.5655 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.4821, allocations: 233.6 kB / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4821, allocations: 0 / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4821, allocations: 4 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.4821, allocations: 0 / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001005/0.4831, allocations: 0.5445 MB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4832, allocations: 16.03 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.4833, allocations: 28.75 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.4838, allocations: 275.8 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.4838, allocations: 8.312 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.4839, allocations: 8.375 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.4842, allocations: 111.7 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4842, allocations: 0 / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.4842, allocations: 8 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4842, allocations: 4 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.4844, allocations: 43.91 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.4851, allocations: 464.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.4856, allocations: 121.2 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4857, allocations: 41.83 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.4857, allocations: 7.984 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.486, allocations: 129.1 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.486, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001611/0.4876, allocations: 0.4897 MB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.4877, allocations: 81.11 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.4882, allocations: 367.3 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4882, allocations: 37.69 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4884, allocations: 148.5 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.4885, allocations: 75.38 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.4885, allocations: 45.64 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4887, allocations: 338.8 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.4889, allocations: 59.97 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4891, allocations: 103.3 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.4894, allocations: 163.5 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4894, allocations: 0 / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004879/0.4899, allocations: 225.3 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.4899, allocations: 11.98 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4899, allocations: 64 / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.4899, allocations: 11.94 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4901, allocations: 39.92 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4901, allocations: 4 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4902, allocations: 8 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4902, allocations: 11.98 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001894/0.4904, allocations: 157.8 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.4905, allocations: 27.81 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.4911, allocations: 263.5 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4911, allocations: 4 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4911, allocations: 0 / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4911, allocations: 3.984 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4922, allocations: 0.7195 MB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4922, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.4923, allocations: 31.92 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4923, allocations: 4 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4923, allocations: 8 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4924, allocations: 0 / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.4924, allocations: 7.984 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.493, allocations: 422 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4931, allocations: 100.9 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.4931, allocations: 11.98 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.4933, allocations: 8 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.4934, allocations: 35.84 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.4934, allocations: 8 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.4937, allocations: 277.9 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4937, allocations: 0 / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.4941, allocations: 51.92 kB / 0.5716 GB, free: 9.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002143/0.4962, allocations: 0.4985 MB / 0.5721 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.4967, allocations: 155.8 kB / 0.5723 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4967, allocations: 0 / 0.5723 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4969, allocations: 75.78 kB / 0.5723 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.4975, allocations: 71.73 kB / 0.5724 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4986, allocations: 0.516 MB / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.4991, allocations: 0.7597 MB / 0.5737 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.4992, allocations: 49.89 kB / 0.5737 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.4993, allocations: 35.42 kB / 0.5737 GB, free: 7.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4993, allocations: 0 / 0.5737 GB, free: 7.938 MB / 414.1 MB Notification: Performance of Templates: time 0.00893/0.5082, allocations: 3.202 MB / 0.5769 GB, free: 4.758 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.715231893118471]