Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.00128/0.00128, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001212/0.001212, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2149/0.2149, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00281/0.3246, allocations: 1.949 MB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3261, allocations: 1.038 MB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.3262, allocations: 9.562 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.3269, allocations: 195.4 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.3272, allocations: 156.3 kB / 0.5218 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3277, allocations: 228.4 kB / 0.522 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.328, allocations: 254.4 kB / 0.5222 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3281, allocations: 19.78 kB / 0.5222 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3283, allocations: 105.4 kB / 0.5223 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3284, allocations: 109.8 kB / 0.5224 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3285, allocations: 9.562 kB / 0.5224 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3286, allocations: 54.3 kB / 0.5225 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.3287, allocations: 60.95 kB / 0.5226 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.3288, allocations: 78.48 kB / 0.5226 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.3291, allocations: 236.6 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3292, allocations: 0 / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3292, allocations: 0 / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3292, allocations: 0 / 0.5229 GB, free: 0.5742 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007012/0.3299, allocations: 0.554 MB / 0.5234 GB, free: 60 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3299, allocations: 9.344 kB / 0.5234 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.33, allocations: 34.23 kB / 0.5234 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.33, allocations: 28.61 kB / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.3305, allocations: 286.9 kB / 0.5237 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3305, allocations: 8.266 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3305, allocations: 7.281 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3308, allocations: 107.5 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3308, allocations: 0 / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3308, allocations: 5.625 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3308, allocations: 1.219 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.331, allocations: 44.56 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.3315, allocations: 378 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3319, allocations: 125.4 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.332, allocations: 45.16 kB / 0.5244 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.332, allocations: 5.375 kB / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.3323, allocations: 112.5 kB / 0.5245 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3323, allocations: 0 / 0.5245 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004853/0.3328, allocations: 179.7 kB / 0.5247 GB, free: 15.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.3328, allocations: 106.5 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.3332, allocations: 331.9 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3333, allocations: 26.8 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3334, allocations: 137.9 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.3335, allocations: 43.17 kB / 0.5253 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.3335, allocations: 31.14 kB / 0.5254 GB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3337, allocations: 345.5 kB / 0.5257 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3338, allocations: 29.08 kB / 0.5257 GB, free: 14.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.334, allocations: 78.2 kB / 0.5258 GB, free: 14.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3342, allocations: 98.28 kB / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3342, allocations: 0 / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003034/0.3345, allocations: 151.1 kB / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3346, allocations: 6.469 kB / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3346, allocations: 0 / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3346, allocations: 7.297 kB / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3347, allocations: 24.48 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3347, allocations: 2.125 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-05/0.3348, allocations: 11.7 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3349, allocations: 7.625 kB / 0.5261 GB, free: 13.96 MB / 398.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001586/0.335, allocations: 145.2 kB / 0.5262 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3351, allocations: 26.36 kB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.3351, allocations: 27.08 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3352, allocations: 7 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3352, allocations: 0.6562 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3352, allocations: 6.891 kB / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3354, allocations: 249.2 kB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3355, allocations: 2.453 kB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.3355, allocations: 10.61 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3355, allocations: 2.156 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3355, allocations: 6.625 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3355, allocations: 0.75 kB / 0.5266 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3355, allocations: 2.266 kB / 0.5266 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3359, allocations: 183 kB / 0.5267 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.336, allocations: 96.92 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.336, allocations: 2.953 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.3361, allocations: 10.34 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.3362, allocations: 15.84 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3362, allocations: 6.297 kB / 0.5269 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.3365, allocations: 251.4 kB / 0.5271 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3365, allocations: 1.375 kB / 0.5271 GB, free: 13.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3368, allocations: 36.75 kB / 0.5271 GB, free: 13.18 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002073/0.3388, allocations: 1.044 MB / 0.5281 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.3391, allocations: 91.06 kB / 0.5282 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3391, allocations: 1.375 kB / 0.5282 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3393, allocations: 43.38 kB / 0.5283 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3397, allocations: 60.19 kB / 0.5283 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.3427, allocations: 2.283 MB / 0.5306 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.3431, allocations: 0.7511 MB / 0.5313 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3432, allocations: 33.22 kB / 0.5313 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3433, allocations: 72.62 kB / 0.5314 GB, free: 9.898 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3434, allocations: 4 kB / 0.5314 GB, free: 9.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3708, allocations: 5.63 MB / 0.5369 GB, free: 6.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.295, allocations: 9.312 kB / 0.5369 GB, free: 6.984 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches