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.001494/0.001494, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001577/0.001577, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.427/1.427, 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.2223/0.2223, allocations: 44.17 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 67.89 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.402, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003246/0.4053, allocations: 1.896 MB / 0.5204 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.4068, allocations: 0.9828 MB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.407, allocations: 9.094 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.4075, allocations: 154.2 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.4079, allocations: 141.4 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.4084, allocations: 182.8 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.4088, allocations: 229 kB / 0.522 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.409, allocations: 30.78 kB / 0.522 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.4092, allocations: 105.8 kB / 0.5221 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.4094, allocations: 131.1 kB / 0.5223 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.4094, allocations: 8 kB / 0.5223 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.4096, allocations: 58.77 kB / 0.5223 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.4097, allocations: 46.3 kB / 0.5224 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.4098, allocations: 84.34 kB / 0.5225 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.4101, allocations: 215.3 kB / 0.5227 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4101, allocations: 0 / 0.5227 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4101, allocations: 0 / 0.5227 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4102, allocations: 1.094 kB / 0.5227 GB, free: 0.7227 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.0006374/0.4108, allocations: 0.5344 MB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4108, allocations: 9.906 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.4109, allocations: 43.55 kB / 0.5232 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.4109, allocations: 27.86 kB / 0.5233 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.4113, allocations: 276 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4113, allocations: 8.75 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4114, allocations: 9.906 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.4116, allocations: 109.8 kB / 0.5236 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4117, allocations: 1.125 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4117, allocations: 2.203 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4117, allocations: 1.531 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.4118, allocations: 50.14 kB / 0.5237 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.4124, allocations: 467.9 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.4128, allocations: 124 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.413, allocations: 50.67 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.413, allocations: 1.828 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.4133, allocations: 112.1 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 6.602e-06/0.4133, allocations: 2.781 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001405/0.4147, allocations: 499.8 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.4148, allocations: 80.83 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.4152, allocations: 353.5 kB / 0.5253 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.4152, allocations: 32.09 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4153, allocations: 144.3 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.4154, allocations: 75.64 kB / 0.5256 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.4155, allocations: 46.09 kB / 0.5256 GB, free: 14.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4157, allocations: 339.1 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4158, allocations: 56.22 kB / 0.526 GB, free: 14.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.416, allocations: 101.1 kB / 0.5261 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4163, allocations: 159.7 kB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4163, allocations: 0 / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003928/0.4167, allocations: 237.8 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4167, allocations: 8.875 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4167, allocations: 1.375 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4167, allocations: 2.75 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4169, allocations: 40.38 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4169, allocations: 9.375 kB / 0.5265 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.417, allocations: 13.42 kB / 0.5265 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.417, allocations: 7.625 kB / 0.5265 GB, free: 13.84 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.0001514/0.4172, allocations: 152.3 kB / 0.5267 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.4172, allocations: 32.92 kB / 0.5267 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.4173, allocations: 35.72 kB / 0.5267 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4173, allocations: 2.75 kB / 0.5267 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4173, allocations: 2.172 kB / 0.5267 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4173, allocations: 4.656 kB / 0.5268 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.4183, allocations: 0.7145 MB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4183, allocations: 2.75 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.4184, allocations: 31.11 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.4184, allocations: 2.875 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4184, allocations: 17.05 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4184, allocations: 3.594 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4184, allocations: 9.188 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.4189, allocations: 423.2 kB / 0.5279 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.419, allocations: 97.17 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.4191, allocations: 9.141 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4192, allocations: 9.578 kB / 0.528 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.4193, allocations: 22.48 kB / 0.528 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.4193, allocations: 11.05 kB / 0.5281 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.4196, allocations: 264.9 kB / 0.5283 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4196, allocations: 4 kB / 0.5283 GB, free: 12.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.4199, allocations: 48.84 kB / 0.5284 GB, free: 12.54 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.002552/0.4225, allocations: 1.357 MB / 0.5297 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.4229, allocations: 167 kB / 0.5298 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4229, allocations: 0 / 0.5298 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.4231, allocations: 91.56 kB / 0.5299 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.4236, allocations: 70.98 kB / 0.53 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.4269, allocations: 2.648 MB / 0.5326 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4273, allocations: 0.754 MB / 0.5333 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4275, allocations: 43.88 kB / 0.5334 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4276, allocations: 81.78 kB / 0.5334 GB, free: 8.574 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4276, allocations: 0 / 0.5334 GB, free: 8.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4554, allocations: 5.929 MB / 0.5392 GB, free: 5.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.645, allocations: 9.641 kB / 0.5392 GB, free: 5.535 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