Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001226/0.001227, allocations: 118.6 kB / 17.78 MB, free: 5.125 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.001197/0.001197, allocations: 185 kB / 18.72 MB, free: 4.203 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.215/0.215, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4519, allocations: 60.81 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00313/0.4551, allocations: 1.713 MB / 0.5202 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4568, allocations: 0.8718 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.4569, allocations: 1.188 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.4573, allocations: 46.78 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.4575, allocations: 57.44 kB / 0.5211 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.4579, allocations: 110.6 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.4581, allocations: 96.02 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4582, allocations: 11.31 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4583, allocations: 46.11 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.4584, allocations: 30.7 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.4584, allocations: 3.375 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.4586, allocations: 46.28 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.4586, allocations: 20.81 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.4587, allocations: 46.22 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.459, allocations: 115.3 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.459, allocations: 1.219 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.459, allocations: 0.7031 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.459, allocations: 0 / 0.5216 GB, free: 1.195 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.0006291/0.4596, allocations: 435.3 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4597, allocations: 9.156 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.4597, allocations: 36.75 kB / 0.5221 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.4598, allocations: 11.27 kB / 0.5221 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.4601, allocations: 215.4 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4601, allocations: 3.25 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4601, allocations: 6.219 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4603, allocations: 53.84 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4603, allocations: 0 / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4603, allocations: 5.953 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4603, allocations: 1.188 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.4604, allocations: 21.73 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.4608, allocations: 289.4 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.461, allocations: 60.98 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.461, allocations: 23.69 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.4611, allocations: 1.938 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4612, allocations: 64.75 kB / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4612, allocations: 1.062 kB / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005828/0.4618, allocations: 185 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4619, allocations: 58.08 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.4622, allocations: 226.1 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.4622, allocations: 30.98 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.4623, allocations: 105.3 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.4624, allocations: 29.59 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.4624, allocations: 22.77 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4626, allocations: 328 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.4627, allocations: 17.67 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4628, allocations: 42.41 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4629, allocations: 58.36 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4629, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002361/0.4632, allocations: 106.3 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4632, allocations: 12.81 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4632, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4632, allocations: 1.656 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4633, allocations: 18.97 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4634, allocations: 10.2 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.4634, allocations: 10.22 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.4634, allocations: 2.844 kB / 0.524 GB, free: 15.09 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 (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.000126/0.4636, allocations: 131.4 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4636, allocations: 14.47 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.4637, allocations: 17.3 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4637, allocations: 1.5 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4637, allocations: 0 / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4637, allocations: 8.641 kB / 0.5242 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.4643, allocations: 389.8 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4643, allocations: 1.312 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.4643, allocations: 9.766 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4643, allocations: 3.938 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4644, allocations: 1.672 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4644, allocations: 1.75 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4644, allocations: 1.188 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.4647, allocations: 214 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.4648, allocations: 85.16 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.4648, allocations: 10.08 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.4649, allocations: 3.094 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.465, allocations: 6.188 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.465, allocations: 4.531 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.4652, allocations: 178.8 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4652, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.4655, allocations: 25.78 kB / 0.5251 GB, free: 14.19 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 (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.001751/0.4673, allocations: 1.103 MB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.4675, allocations: 61.73 kB / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4675, allocations: 0 / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.4675, allocations: 28.92 kB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4679, allocations: 35.73 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4699, allocations: 1.726 MB / 0.528 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4702, allocations: 0.71 MB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.4702, allocations: 25.94 kB / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.4703, allocations: 39.67 kB / 0.5287 GB, free: 11.19 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4703, allocations: 0 / 0.5287 GB, free: 11.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.4928, allocations: 3.533 MB / 0.5322 GB, free: 9.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.12, allocations: 15.98 kB / 0.5322 GB, free: 9.637 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches