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/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 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 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) 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001163/0.001163, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1938/0.1938, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.367, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002761/0.3699, allocations: 1.714 MB / 0.5202 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3711, allocations: 0.886 MB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.3712, allocations: 0 / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.3715, allocations: 36.41 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3717, allocations: 52.94 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.372, allocations: 119.3 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3722, allocations: 98.48 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.3722, allocations: 11.3 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.3723, allocations: 46.83 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.3724, allocations: 38.39 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3724, allocations: 4.438 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3726, allocations: 72.94 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.3726, allocations: 12.14 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.3727, allocations: 33.66 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3729, allocations: 136.4 kB / 0.5217 GB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3729, allocations: 0.9688 kB / 0.5217 GB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.373, allocations: 0 / 0.5217 GB, free: 1.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.373, allocations: 0 / 0.5217 GB, free: 1.16 MB / 382.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.0004529/0.3734, allocations: 418.8 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3735, allocations: 9.359 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.3735, allocations: 37.23 kB / 0.5221 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3735, allocations: 10 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3738, allocations: 209.5 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3738, allocations: 1.5 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3738, allocations: 7.531 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.374, allocations: 70.94 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.374, allocations: 0 / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.374, allocations: 2.062 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.374, allocations: 0 / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.3741, allocations: 22.59 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.3744, allocations: 272.2 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3746, allocations: 70.53 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3746, allocations: 29.64 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3747, allocations: 0.7031 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3748, allocations: 77.05 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3748, allocations: 0 / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006111/0.3754, allocations: 203.4 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3755, allocations: 83.05 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3756, allocations: 159.2 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3757, allocations: 30.92 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.3757, allocations: 93.78 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3758, allocations: 38.48 kB / 0.5234 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3758, allocations: 29.92 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3759, allocations: 320.8 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.376, allocations: 27.81 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.3761, allocations: 59.41 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3763, allocations: 80.95 kB / 0.5239 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3763, allocations: 1.344 kB / 0.5239 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.3765, allocations: 119.6 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3765, allocations: 5.5 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3765, allocations: 0 / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3765, allocations: 5.906 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3767, allocations: 23.77 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3767, allocations: 1.875 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.3767, allocations: 7.375 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3767, allocations: 7.562 kB / 0.5241 GB, free: 15.02 MB / 398.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 (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 9.439e-05/0.3768, allocations: 129.5 kB / 0.5242 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3769, allocations: 14.12 kB / 0.5242 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.3769, allocations: 13.5 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3769, allocations: 5.719 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3769, allocations: 0 / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3769, allocations: 1.766 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.3774, allocations: 424.1 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3774, allocations: 0 / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3775, allocations: 17.19 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3775, allocations: 0 / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3775, allocations: 7.625 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3775, allocations: 0 / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3775, allocations: 3.938 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3778, allocations: 222.1 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.3778, allocations: 84.75 kB / 0.525 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3779, allocations: 6.703 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.378, allocations: 3.531 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.378, allocations: 10.75 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.378, allocations: 3.031 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3781, allocations: 120.1 kB / 0.5251 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3782, allocations: 0 / 0.5251 GB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3785, allocations: 33.92 kB / 0.5252 GB, free: 14.12 MB / 398.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 (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.001728/0.3802, allocations: 1.165 MB / 0.5263 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3805, allocations: 81.94 kB / 0.5264 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3805, allocations: 4.062 kB / 0.5264 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.991e-05/0.3806, allocations: 38.48 kB / 0.5264 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3809, allocations: 28.34 kB / 0.5264 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3829, allocations: 1.626 MB / 0.528 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3832, allocations: 0.7121 MB / 0.5287 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.631e-05/0.3832, allocations: 23.52 kB / 0.5287 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.3833, allocations: 33.84 kB / 0.5288 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3833, allocations: 0 / 0.5288 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.4048, allocations: 3.774 MB / 0.5325 GB, free: 9.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.106, allocations: 5.281 kB / 0.5325 GB, free: 9.371 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches