Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001169/0.001169, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001227/0.001227, allocations: 184.2 kB / 18.72 MB, free: 4.336 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.444/1.444, 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.2407/0.2407, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4785, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004284/0.4828, allocations: 1.92 MB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4845, allocations: 0.9143 MB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.4846, allocations: 6 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.485, allocations: 41.56 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.4852, allocations: 58.58 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.4856, allocations: 130.5 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.4858, allocations: 139.5 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.4859, allocations: 24.45 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4861, allocations: 58.02 kB / 0.5217 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4862, allocations: 53.44 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4862, allocations: 6.938 kB / 0.5218 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4864, allocations: 48.17 kB / 0.5218 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.4865, allocations: 23.27 kB / 0.5218 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.4865, allocations: 50.61 kB / 0.5219 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.4869, allocations: 158.1 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4869, allocations: 0 / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4869, allocations: 0 / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.487, allocations: 0 / 0.522 GB, free: 0.9141 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007266/0.4877, allocations: 481.9 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4877, allocations: 13.19 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.4878, allocations: 38.64 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.4879, allocations: 17.12 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.4882, allocations: 229.5 kB / 0.5228 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4883, allocations: 6.531 kB / 0.5228 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.4883, allocations: 14.55 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4886, allocations: 101.1 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4886, allocations: 0 / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4886, allocations: 5.375 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4886, allocations: 2.984 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.4888, allocations: 58.02 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.4894, allocations: 0.5001 MB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.4898, allocations: 91.53 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.49, allocations: 40.38 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.49, allocations: 2.188 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.4902, allocations: 82.08 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.4902, allocations: 0 / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004304/0.4907, allocations: 150.3 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4907, allocations: 53.19 kB / 0.5238 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.4909, allocations: 188.5 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.491, allocations: 31.36 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4911, allocations: 118.7 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4911, allocations: 26.33 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.4911, allocations: 28.58 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4913, allocations: 327.4 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.4914, allocations: 28.84 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4915, allocations: 71.55 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4917, allocations: 96.59 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4917, allocations: 3.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002736/0.492, allocations: 146.9 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.492, allocations: 4.719 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.492, allocations: 6.016 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.492, allocations: 6.156 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.4921, allocations: 21.08 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4922, allocations: 6.906 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.4922, allocations: 14.83 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4922, allocations: 7.438 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.708e-05/0.4924, allocations: 125 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4924, allocations: 19.58 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.4924, allocations: 19.86 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4924, allocations: 5.25 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4925, allocations: 0 / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4925, allocations: 0.6562 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.4926, allocations: 206.4 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4927, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.4927, allocations: 12.52 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4927, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4928, allocations: 1.922 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4928, allocations: 5.031 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4928, allocations: 0.75 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.4931, allocations: 182.7 kB / 0.5255 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.4932, allocations: 93.77 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4932, allocations: 6.734 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.4933, allocations: 13.88 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.4934, allocations: 4.578 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4934, allocations: 7.844 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.4935, allocations: 142.3 kB / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4935, allocations: 0 / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.4938, allocations: 26.17 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001519/0.4953, allocations: 1.022 MB / 0.5267 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.4956, allocations: 81.42 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4956, allocations: 3.938 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.4957, allocations: 32.03 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.496, allocations: 44.66 kB / 0.5269 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.4982, allocations: 1.722 MB / 0.5286 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4985, allocations: 0.7178 MB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.4986, allocations: 23.83 kB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.4987, allocations: 39.67 kB / 0.5293 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4987, allocations: 5.719 kB / 0.5294 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.5228, allocations: 3.775 MB / 0.533 GB, free: 9.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.207, allocations: 15.5 kB / 0.5331 GB, free: 9.055 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches