Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.001405/0.001405, allocations: 114.5 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.001732/0.001732, allocations: 209.4 kB / 24.47 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.658/1.658, allocations: 230.2 MB / 257.8 MB, free: 8.527 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.2682/0.2682, allocations: 46.89 MB / 361.1 MB, free: 4.66 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32") [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.002454/0.002454, allocations: 80.16 kB / 0.4968 GB, free: 8.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4788, allocations: 65.96 MB / 0.5613 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004352/0.4832, allocations: 1.75 MB / 0.563 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.4851, allocations: 1.044 MB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.4853, allocations: 3.094 kB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.4857, allocations: 42.11 kB / 0.564 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.4861, allocations: 98.52 kB / 0.5641 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.4864, allocations: 83.88 kB / 0.5642 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.4867, allocations: 94.98 kB / 0.5643 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4868, allocations: 15.61 kB / 0.5643 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4869, allocations: 39.05 kB / 0.5644 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.487, allocations: 35.84 kB / 0.5644 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.487, allocations: 2.875 kB / 0.5644 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4872, allocations: 41.75 kB / 0.5644 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.4872, allocations: 26 kB / 0.5645 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.4873, allocations: 33.91 kB / 0.5645 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.4876, allocations: 126.6 kB / 0.5646 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4876, allocations: 1.5 kB / 0.5646 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4876, allocations: 0 / 0.5646 GB, free: 32.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4876, allocations: 0 / 0.5646 GB, free: 32.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006766/0.4882, allocations: 428 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4883, allocations: 10.16 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.4884, allocations: 8.172 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.4887, allocations: 216.5 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4887, allocations: 7.5 kB / 0.5653 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4888, allocations: 6.797 kB / 0.5653 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.489, allocations: 57.83 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.489, allocations: 2.906 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.489, allocations: 0 / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.489, allocations: 0 / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.4891, allocations: 19.59 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.4895, allocations: 282.5 kB / 0.5656 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4897, allocations: 63.47 kB / 0.5657 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.4897, allocations: 18.39 kB / 0.5657 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4898, allocations: 2.5 kB / 0.5657 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.4899, allocations: 69.84 kB / 0.5658 GB, free: 31.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.4899, allocations: 0 / 0.5658 GB, free: 31.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006146/0.4905, allocations: 178.8 kB / 0.5659 GB, free: 31.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.4906, allocations: 52.25 kB / 0.566 GB, free: 31.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4908, allocations: 198.1 kB / 0.5662 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4908, allocations: 25.7 kB / 0.5662 GB, free: 30.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.4909, allocations: 109.2 kB / 0.5663 GB, free: 30.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.4909, allocations: 26.42 kB / 0.5663 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.4909, allocations: 23.81 kB / 0.5663 GB, free: 30.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.491, allocations: 337 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.4911, allocations: 13.28 kB / 0.5667 GB, free: 30.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.4912, allocations: 45.45 kB / 0.5667 GB, free: 30.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4913, allocations: 61.92 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4913, allocations: 0 / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.4915, allocations: 106.9 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4915, allocations: 8.25 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4915, allocations: 0 / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.4916, allocations: 0 / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4917, allocations: 19.89 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4917, allocations: 3.938 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.4918, allocations: 3.094 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4918, allocations: 3.219 kB / 0.5669 GB, free: 30.31 MB / 446.1 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 0.0001175/0.4919, allocations: 135.7 kB / 0.567 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.4919, allocations: 13.97 kB / 0.5671 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.4922, allocations: 110.3 kB / 0.5672 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4922, allocations: 0 / 0.5672 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4922, allocations: 0 / 0.5672 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.4922, allocations: 0.6562 kB / 0.5672 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.4927, allocations: 403.8 kB / 0.5675 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4927, allocations: 3.188 kB / 0.5675 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.4927, allocations: 16.84 kB / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4927, allocations: 0 / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4927, allocations: 2.938 kB / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4927, allocations: 4.312 kB / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4927, allocations: 0 / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.493, allocations: 208.7 kB / 0.5678 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.4931, allocations: 84.06 kB / 0.5679 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.4931, allocations: 9.844 kB / 0.5679 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.4932, allocations: 6.969 kB / 0.5679 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.4932, allocations: 14.58 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.4932, allocations: 11 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.4934, allocations: 148.5 kB / 0.568 GB, free: 29.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4934, allocations: 192 / 0.568 GB, free: 29.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.4937, allocations: 25.97 kB / 0.5681 GB, free: 29.36 MB / 446.1 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 (8): * Single equations (assignments): 6 * 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.001791/0.4955, allocations: 458.6 kB / 0.5685 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.4957, allocations: 55.81 kB / 0.5685 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4957, allocations: 0 / 0.5685 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.4957, allocations: 22.2 kB / 0.5686 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.4961, allocations: 35.05 kB / 0.5686 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.4966, allocations: 258.2 kB / 0.5688 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.4968, allocations: 0.7061 MB / 0.5695 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.4968, allocations: 17.59 kB / 0.5696 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.4969, allocations: 16.41 kB / 0.5696 GB, free: 28.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4969, allocations: 3.938 kB / 0.5696 GB, free: 28.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006078/0.503, allocations: 1.766 MB / 0.5713 GB, free: 28.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.805734070949256]