Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001108, allocations: 115.2 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 69.25 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08928, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002504/0.09183, allocations: 1.689 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.09337, allocations: 1.41 MB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.09345, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.09373, allocations: 43.7 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.09392, allocations: 55.77 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.09412, allocations: 95.62 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.09425, allocations: 91.77 kB / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.09434, allocations: 8.219 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.09441, allocations: 47.78 kB / 445.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.09454, allocations: 39.5 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.09456, allocations: 11.92 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.09466, allocations: 55.98 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.0947, allocations: 15.98 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.09475, allocations: 39.72 kB / 445.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.09492, allocations: 119.6 kB / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09493, allocations: 0 / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09493, allocations: 0 / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09494, allocations: 0 / 445.7 MB, free: 2.402 MB / 318.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.0004121/0.09536, allocations: 407 kB / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.0954, allocations: 11.89 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.09546, allocations: 16.83 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.09569, allocations: 201.4 kB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.09572, allocations: 384 / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.09575, allocations: 16.12 kB / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.09591, allocations: 67.33 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.09593, allocations: 7.906 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.09595, allocations: 4 kB / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.09595, allocations: 0 / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.09603, allocations: 15.98 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.09635, allocations: 284.8 kB / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.09653, allocations: 62.61 kB / 446.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.09659, allocations: 24.8 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.09662, allocations: 7.969 kB / 446.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.09675, allocations: 67.39 kB / 446.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.09676, allocations: 0 / 446.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005009/0.09727, allocations: 161.3 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.09732, allocations: 85.09 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.09742, allocations: 152.9 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.09744, allocations: 29.7 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.09748, allocations: 96.12 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.09751, allocations: 23.66 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.09755, allocations: 25.7 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.0976, allocations: 330.8 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.09766, allocations: 19.94 kB / 447.8 MB, free: 104 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.09771, allocations: 46.56 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.09783, allocations: 57.75 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.09784, allocations: 0 / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.09802, allocations: 101.5 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.09804, allocations: 7.984 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.09805, allocations: 80 / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.09807, allocations: 64 / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.09816, allocations: 20 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.09817, allocations: 3.984 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.09823, allocations: 19.78 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.09824, allocations: 3.984 kB / 448 MB, free: 15.82 MB / 334.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 8.013e-05/0.09833, allocations: 125.7 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.09836, allocations: 8.281 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.0984, allocations: 12.72 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.09841, allocations: 3.984 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.09842, allocations: 4 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.09843, allocations: 7.938 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.09885, allocations: 387.3 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09886, allocations: 0 / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.0989, allocations: 8 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.09891, allocations: 4 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.09893, allocations: 7.922 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.09894, allocations: 0 / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09894, allocations: 192 / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.09918, allocations: 204.3 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.09924, allocations: 88.95 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.09927, allocations: 3.938 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.09935, allocations: 11.98 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.09939, allocations: 7.984 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.09942, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.058e-05/0.09951, allocations: 119.2 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09952, allocations: 0 / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.09979, allocations: 31.98 kB / 449 MB, free: 14.69 MB / 334.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.001149/0.1009, allocations: 495.3 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1011, allocations: 67.88 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1012, allocations: 0 / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1012, allocations: 31.94 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1016, allocations: 39.84 kB / 449.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1019, allocations: 194.8 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1022, allocations: 0.6924 MB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.028e-05/0.1023, allocations: 16.88 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1023, allocations: 27.42 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1023, allocations: 0 / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Templates: time 0.00445/0.1068, allocations: 1.935 MB / 452.5 MB, free: 11.26 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches