Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.002125/0.002125, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002374/0.002374, allocations: 217.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.569/1.569, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.24/0.24, allocations: 46.9 MB / 361.1 MB, free: 4.637 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [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.002354/0.002354, allocations: 83.86 kB / 0.4969 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4701, allocations: 65.97 MB / 0.5613 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003554/0.4736, allocations: 1.931 MB / 0.5632 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4755, allocations: 1.151 MB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.4756, allocations: 6.906 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.4762, allocations: 226.2 kB / 0.5645 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.4767, allocations: 214.7 kB / 0.5647 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.477, allocations: 114.6 kB / 0.5648 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.4773, allocations: 259.1 kB / 0.5651 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4774, allocations: 14.78 kB / 0.5651 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.4776, allocations: 138.2 kB / 0.5652 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.4778, allocations: 164.9 kB / 0.5654 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.4778, allocations: 9.438 kB / 0.5654 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.478, allocations: 70.2 kB / 0.5655 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.4781, allocations: 62.61 kB / 0.5655 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.4781, allocations: 85.95 kB / 0.5656 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.4784, allocations: 252.3 kB / 0.5658 GB, free: 31.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4784, allocations: 0 / 0.5658 GB, free: 31.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4784, allocations: 3.828 kB / 0.5659 GB, free: 31.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4785, allocations: 0 / 0.5659 GB, free: 31.77 MB / 446.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.0007008/0.4792, allocations: 0.5678 MB / 0.5664 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4792, allocations: 9.5 kB / 0.5664 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.4793, allocations: 32.5 kB / 0.5664 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.4796, allocations: 300.3 kB / 0.5667 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4796, allocations: 8.969 kB / 0.5667 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.4797, allocations: 10.28 kB / 0.5668 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.4799, allocations: 113.3 kB / 0.5669 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4799, allocations: 2.812 kB / 0.5669 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4799, allocations: 4 kB / 0.5669 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.48, allocations: 2.562 kB / 0.5669 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4801, allocations: 52.67 kB / 0.5669 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.4805, allocations: 474.9 kB / 0.5674 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.4809, allocations: 120.1 kB / 0.5675 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.481, allocations: 39.33 kB / 0.5675 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.481, allocations: 2.75 kB / 0.5675 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.4812, allocations: 121.7 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4812, allocations: 0 / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001205/0.4824, allocations: 0.5042 MB / 0.5681 GB, free: 30.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4824, allocations: 84.84 kB / 0.5682 GB, free: 29.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.4829, allocations: 445.8 kB / 0.5686 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4829, allocations: 29.7 kB / 0.5687 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.483, allocations: 164.8 kB / 0.5688 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.483, allocations: 74.39 kB / 0.5689 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.4831, allocations: 46.31 kB / 0.5689 GB, free: 29.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.4832, allocations: 342.6 kB / 0.5693 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4833, allocations: 57.75 kB / 0.5693 GB, free: 29.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.4834, allocations: 97.53 kB / 0.5694 GB, free: 29.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4836, allocations: 158.9 kB / 0.5696 GB, free: 29.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4836, allocations: 0 / 0.5696 GB, free: 29.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003575/0.484, allocations: 234.2 kB / 0.5698 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.484, allocations: 5.875 kB / 0.5698 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.484, allocations: 0 / 0.5698 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.484, allocations: 6.875 kB / 0.5698 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4841, allocations: 55.06 kB / 0.5699 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4841, allocations: 3.938 kB / 0.5699 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.4842, allocations: 9.391 kB / 0.5699 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4842, allocations: 10.12 kB / 0.5699 GB, free: 28.88 MB / 446.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.0001177/0.4844, allocations: 170.4 kB / 0.57 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.4844, allocations: 31.16 kB / 0.5701 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.4849, allocations: 273.3 kB / 0.5703 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4849, allocations: 2.719 kB / 0.5703 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4849, allocations: 0 / 0.5703 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4849, allocations: 1.031 kB / 0.5703 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.4857, allocations: 0.7366 MB / 0.5711 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4857, allocations: 2.281 kB / 0.5711 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.4858, allocations: 26.81 kB / 0.5711 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4858, allocations: 2.719 kB / 0.5711 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4858, allocations: 10.64 kB / 0.5711 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4858, allocations: 6.781 kB / 0.5711 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4858, allocations: 2.125 kB / 0.5711 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.4863, allocations: 421.1 kB / 0.5715 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.4864, allocations: 112.5 kB / 0.5716 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.4864, allocations: 12.12 kB / 0.5716 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4865, allocations: 4.344 kB / 0.5716 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4866, allocations: 23.5 kB / 0.5716 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4866, allocations: 12.17 kB / 0.5717 GB, free: 27.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.487, allocations: 333.7 kB / 0.572 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.487, allocations: 0 / 0.572 GB, free: 27.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.4874, allocations: 51.16 kB / 0.572 GB, free: 27.45 MB / 446.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.001876/0.4892, allocations: 0.5241 MB / 0.5725 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.4897, allocations: 145.5 kB / 0.5727 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4897, allocations: 1.062 kB / 0.5727 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4898, allocations: 76.7 kB / 0.5728 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.4904, allocations: 57.12 kB / 0.5728 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4914, allocations: 0.5756 MB / 0.5734 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4918, allocations: 0.7759 MB / 0.5741 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4919, allocations: 40.73 kB / 0.5742 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.492, allocations: 30.78 kB / 0.5742 GB, free: 26.05 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.492, allocations: 7.938 kB / 0.5742 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Templates: time 0.01039/0.5023, allocations: 3.241 MB / 0.5774 GB, free: 25.72 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.730866473168135]