Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001664, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 112.1 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3649/0.3649, allocations: 44.12 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 55.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4465, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003894/0.4504, allocations: 1.764 MB / 0.5081 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4521, allocations: 0.8882 MB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4522, allocations: 0 / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.4526, allocations: 27.69 kB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.4529, allocations: 49.78 kB / 0.5091 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.4532, allocations: 100.3 kB / 0.5092 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.4534, allocations: 91.73 kB / 0.5092 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4535, allocations: 9.422 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.4536, allocations: 40.66 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.4537, allocations: 37.61 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.4538, allocations: 2.719 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4539, allocations: 68.55 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.454, allocations: 12.98 kB / 0.5094 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.4541, allocations: 31.72 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4543, allocations: 123.3 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4543, allocations: 3.188 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4543, allocations: 0 / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4543, allocations: 2.938 kB / 0.5096 GB, free: 36.25 MB / 378.7 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.0005706/0.4549, allocations: 408.8 kB / 0.51 GB, free: 35.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.455, allocations: 8.75 kB / 0.51 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.455, allocations: 7.75 kB / 0.51 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4553, allocations: 213.1 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4553, allocations: 1.438 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4553, allocations: 9.844 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4555, allocations: 68.55 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4555, allocations: 0 / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4556, allocations: 6.906 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4556, allocations: 7.938 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.4556, allocations: 21.66 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.456, allocations: 275 kB / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4562, allocations: 65.86 kB / 0.5106 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.4563, allocations: 31.7 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4563, allocations: 2.938 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.4565, allocations: 75.16 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4565, allocations: 0 / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006316/0.4572, allocations: 200 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.4572, allocations: 80.53 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4574, allocations: 160.5 kB / 0.5111 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4574, allocations: 25.7 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.4575, allocations: 101.3 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4575, allocations: 29.41 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.4576, allocations: 32.59 kB / 0.5113 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.4577, allocations: 321.1 kB / 0.5116 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.4578, allocations: 31.08 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.4579, allocations: 49.86 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.458, allocations: 75.58 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.458, allocations: 3.234 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001846/0.4582, allocations: 122.3 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4582, allocations: 5.75 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4582, allocations: 0 / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4582, allocations: 0 / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4584, allocations: 32.55 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4584, allocations: 2.969 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.4584, allocations: 6.344 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.4584, allocations: 6.906 kB / 0.5119 GB, free: 34.17 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.736e-05/0.4585, allocations: 120.1 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.4586, allocations: 9.594 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.4586, allocations: 14.73 kB / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4586, allocations: 6.75 kB / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4586, allocations: 0 / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4586, allocations: 0 / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.4591, allocations: 435.2 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4591, allocations: 0 / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.4592, allocations: 11.7 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4592, allocations: 2.719 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4592, allocations: 0 / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4592, allocations: 2.812 kB / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4592, allocations: 0 / 0.5125 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.4597, allocations: 0.8079 MB / 0.5133 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.4597, allocations: 87.83 kB / 0.5134 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.4597, allocations: 4 kB / 0.5134 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.4598, allocations: 2.875 kB / 0.5134 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.4599, allocations: 17.03 kB / 0.5134 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4599, allocations: 6.844 kB / 0.5134 GB, free: 32.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.936e-05/0.46, allocations: 119.9 kB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.46, allocations: 0 / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.4603, allocations: 36.19 kB / 0.5136 GB, free: 32.66 MB / 378.7 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 (10): * Single equations (assignments): 8 * 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.001185/0.4615, allocations: 0.5143 MB / 0.5141 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.4617, allocations: 79.92 kB / 0.5141 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4618, allocations: 64 / 0.5141 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.4618, allocations: 41.55 kB / 0.5142 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4622, allocations: 28.08 kB / 0.5142 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.4627, allocations: 357.2 kB / 0.5146 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.4628, allocations: 0.7114 MB / 0.5152 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.254e-05/0.4629, allocations: 19.02 kB / 0.5153 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.463, allocations: 15.62 kB / 0.5153 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.463, allocations: 2.719 kB / 0.5153 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.00522/0.4682, allocations: 2.081 MB / 0.5173 GB, free: 31.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches