Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.00159/0.00159, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001664/0.001664, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.398/1.398, 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.2332/0.2332, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4413, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003871/0.4453, allocations: 1.896 MB / 0.5204 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4472, allocations: 0.9866 MB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.4473, allocations: 6.406 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.4479, allocations: 154.4 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.4484, allocations: 136.5 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.4489, allocations: 183.4 kB / 0.5218 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.4493, allocations: 230.3 kB / 0.522 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.4495, allocations: 27.17 kB / 0.522 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.4497, allocations: 109.1 kB / 0.5221 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.4499, allocations: 128.2 kB / 0.5223 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.4499, allocations: 7.375 kB / 0.5223 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.4501, allocations: 67.52 kB / 0.5223 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.4503, allocations: 50.69 kB / 0.5224 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.4504, allocations: 80.34 kB / 0.5225 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.4508, allocations: 211.3 kB / 0.5227 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4508, allocations: 1.125 kB / 0.5227 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4508, allocations: 0 / 0.5227 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4508, allocations: 0 / 0.5227 GB, free: 0.7383 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007858/0.4516, allocations: 0.5372 MB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4517, allocations: 10.91 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.4517, allocations: 42.69 kB / 0.5232 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.4518, allocations: 24.5 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.4523, allocations: 271.4 kB / 0.5235 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4523, allocations: 16.16 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4523, allocations: 14.09 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4527, allocations: 112.7 kB / 0.5237 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4527, allocations: 0 / 0.5237 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4528, allocations: 13.77 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4528, allocations: 1.812 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.453, allocations: 41.84 kB / 0.5237 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.4537, allocations: 462.3 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.4541, allocations: 125.6 kB / 0.5243 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4543, allocations: 45.45 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4543, allocations: 3.562 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.4546, allocations: 122.4 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4546, allocations: 5.656 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001437/0.456, allocations: 487 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.4561, allocations: 79.81 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.4565, allocations: 352.8 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.4566, allocations: 33.77 kB / 0.5254 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4567, allocations: 146.3 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.4568, allocations: 73.23 kB / 0.5256 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.4569, allocations: 40.17 kB / 0.5256 GB, free: 14.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4571, allocations: 340.3 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4572, allocations: 56.16 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4574, allocations: 105 kB / 0.5261 GB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.4577, allocations: 163.3 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4577, allocations: 0 / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005089/0.4583, allocations: 230.2 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4583, allocations: 6.016 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.4583, allocations: 1.438 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.4584, allocations: 7.359 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.4585, allocations: 43.66 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4586, allocations: 1.375 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.4587, allocations: 17.89 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.4587, allocations: 11.72 kB / 0.5265 GB, free: 13.86 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002377/0.4589, allocations: 156.1 kB / 0.5267 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.459, allocations: 32.73 kB / 0.5267 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4591, allocations: 31.72 kB / 0.5267 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4591, allocations: 6.75 kB / 0.5268 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.4591, allocations: 1.375 kB / 0.5268 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4592, allocations: 1.641 kB / 0.5268 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4605, allocations: 0.7153 MB / 0.5275 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4605, allocations: 5.219 kB / 0.5275 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4606, allocations: 35.03 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.4606, allocations: 6.531 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4607, allocations: 5.828 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4607, allocations: 3.172 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4607, allocations: 5.25 kB / 0.5275 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.4613, allocations: 421.8 kB / 0.5279 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.4614, allocations: 101.9 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.4615, allocations: 9.375 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4616, allocations: 7.547 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.4617, allocations: 25.09 kB / 0.5281 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.4617, allocations: 14.33 kB / 0.5281 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.4621, allocations: 265.3 kB / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4621, allocations: 0 / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.4625, allocations: 52.69 kB / 0.5284 GB, free: 12.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002077/0.4646, allocations: 1.351 MB / 0.5297 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.465, allocations: 167.4 kB / 0.5298 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.465, allocations: 4.125 kB / 0.5299 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4652, allocations: 80.28 kB / 0.5299 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.4657, allocations: 72.02 kB / 0.53 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.4693, allocations: 2.652 MB / 0.5326 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4696, allocations: 0.7536 MB / 0.5333 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.4698, allocations: 44.44 kB / 0.5334 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.4699, allocations: 85.31 kB / 0.5334 GB, free: 8.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4699, allocations: 1.125 kB / 0.5334 GB, free: 8.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.4946, allocations: 5.925 MB / 0.5392 GB, free: 5.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.386, allocations: 5.703 kB / 0.5392 GB, free: 5.555 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_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_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches