Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.00189/0.00189, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001488/0.001488, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.664/1.664, 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.2595/0.2595, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [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.00278/0.00278, allocations: 79.88 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4648, allocations: 65.99 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003868/0.4686, allocations: 1.947 MB / 0.5632 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.4709, allocations: 1.154 MB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.471, allocations: 3.938 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.4715, allocations: 219.4 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.472, allocations: 223.2 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.4723, allocations: 119.6 kB / 0.5649 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.4727, allocations: 255.4 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4728, allocations: 20.44 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.473, allocations: 123.5 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.4732, allocations: 163.5 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4733, allocations: 8 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.4734, allocations: 71.95 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4735, allocations: 59.72 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4737, allocations: 99.28 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.474, allocations: 242.7 kB / 0.5659 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.474, allocations: 4 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.474, allocations: 0 / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.474, allocations: 0 / 0.5659 GB, free: 296 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.00104/0.4751, allocations: 0.5717 MB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.4751, allocations: 8.922 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/0.4752, allocations: 36.75 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.4758, allocations: 304.2 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4758, allocations: 384 / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.4759, allocations: 12.38 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4762, allocations: 110.5 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4762, allocations: 0 / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4762, allocations: 4 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4762, allocations: 4 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.4763, allocations: 47.89 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.4771, allocations: 476.8 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.4775, allocations: 121.2 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.4776, allocations: 41.83 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.4776, allocations: 4 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.4778, allocations: 117 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4778, allocations: 0 / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001416/0.4793, allocations: 0.5016 MB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.4793, allocations: 81.11 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.4799, allocations: 448.5 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4799, allocations: 29.7 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.48, allocations: 160.4 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.4801, allocations: 79.41 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.4802, allocations: 45.7 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4804, allocations: 342.8 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4805, allocations: 63.91 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4807, allocations: 91.34 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.481, allocations: 163.3 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.481, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004334/0.4814, allocations: 237.4 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4814, allocations: 4 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4814, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4815, allocations: 7.938 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4816, allocations: 47.91 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4816, allocations: 8.062 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.4817, allocations: 16.02 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.4817, allocations: 8 kB / 0.5699 GB, free: 11.88 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.0001856/0.4819, allocations: 169.7 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.482, allocations: 31.81 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.4826, allocations: 268.2 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4826, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4826, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4826, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4836, allocations: 0.7311 MB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4836, allocations: 0 / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.4837, allocations: 27.98 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4837, allocations: 4.125 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4837, allocations: 12 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4837, allocations: 4 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4837, allocations: 3.938 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.4843, allocations: 424.7 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.4844, allocations: 104.9 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.4844, allocations: 11.98 kB / 0.5716 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4846, allocations: 8 kB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.4846, allocations: 27.84 kB / 0.5717 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.4847, allocations: 8.188 kB / 0.5717 GB, free: 9.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.485, allocations: 331 kB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.485, allocations: 7.938 kB / 0.572 GB, free: 9.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.4854, allocations: 51.94 kB / 0.572 GB, free: 9.539 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.002012/0.4874, allocations: 0.5103 MB / 0.5725 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.4878, allocations: 151.8 kB / 0.5727 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4878, allocations: 0 / 0.5727 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.488, allocations: 76.02 kB / 0.5728 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.4885, allocations: 61.86 kB / 0.5728 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4896, allocations: 0.5703 MB / 0.5734 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.4901, allocations: 0.7832 MB / 0.5741 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4902, allocations: 37.92 kB / 0.5742 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.4903, allocations: 35.42 kB / 0.5742 GB, free: 7.453 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4903, allocations: 0 / 0.5742 GB, free: 7.453 MB / 414.1 MB Notification: Performance of Templates: time 0.007907/0.4982, allocations: 3.241 MB / 0.5774 GB, free: 4.234 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.677127472124994]