Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001671/0.001671, allocations: 113.2 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.001873/0.001873, allocations: 185 kB / 18.71 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.467/1.467, 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.2264/0.2264, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.88 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3861, allocations: 60.81 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004132/0.3903, allocations: 1.676 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3925, allocations: 0.8472 MB / 0.521 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.3926, allocations: 5.125 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.3931, allocations: 52.97 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3934, allocations: 65.44 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.3938, allocations: 99.14 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3941, allocations: 87.7 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.3941, allocations: 13.55 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3942, allocations: 44.64 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.3944, allocations: 24.78 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3944, allocations: 3.562 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3945, allocations: 30 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3946, allocations: 30.98 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.3947, allocations: 37.17 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.395, allocations: 113.9 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.395, allocations: 1.031 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.395, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3951, allocations: 0 / 0.5215 GB, free: 1.273 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000614/0.3957, allocations: 440.6 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3957, allocations: 10.62 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.3958, allocations: 35.58 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3959, allocations: 11.55 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.3962, allocations: 217.7 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3962, allocations: 5.562 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3962, allocations: 6.828 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3964, allocations: 49.53 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3965, allocations: 0 / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3965, allocations: 1.516 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3965, allocations: 1.094 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.3966, allocations: 14.58 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.3968, allocations: 190 kB / 0.5225 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3971, allocations: 56.86 kB / 0.5225 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.3972, allocations: 24.08 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3972, allocations: 2.078 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.3974, allocations: 67.69 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.3974, allocations: 0 / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003851/0.3978, allocations: 101.6 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3979, allocations: 52.72 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.3983, allocations: 261.9 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3984, allocations: 26.61 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3985, allocations: 115.6 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3986, allocations: 19.44 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.3986, allocations: 19.59 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3989, allocations: 328.6 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.3989, allocations: 13.59 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.697e-05/0.3991, allocations: 35.14 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3992, allocations: 40.95 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3992, allocations: 5.062 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002572/0.3995, allocations: 86.39 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3995, allocations: 7.969 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3996, allocations: 5.188 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3996, allocations: 0.6562 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3997, allocations: 14.59 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3997, allocations: 5.547 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.3998, allocations: 3.594 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3998, allocations: 1.469 kB / 0.5237 GB, free: 15.32 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 (7): * Single equations (assignments): 7 * 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.0001936/0.4, allocations: 137.3 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.4001, allocations: 14.98 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.4002, allocations: 17.42 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4002, allocations: 1.703 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4002, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4002, allocations: 9.484 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.4005, allocations: 194.3 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4005, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.4006, allocations: 4.453 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4006, allocations: 0.7969 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4006, allocations: 2.656 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.4006, allocations: 8.734 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4006, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.401, allocations: 116.8 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.4011, allocations: 89.28 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.4011, allocations: 1.719 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.4012, allocations: 7.859 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4012, allocations: 2.297 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4013, allocations: 3.594 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.4016, allocations: 200.5 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4016, allocations: 3.938 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.402, allocations: 22.41 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.002682/0.4047, allocations: 0.9598 MB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.405, allocations: 40.2 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.405, allocations: 1.344 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.4051, allocations: 21.8 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4054, allocations: 32.05 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.408, allocations: 1.653 MB / 0.5272 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4085, allocations: 0.7162 MB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.4085, allocations: 11.25 kB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.4087, allocations: 44.67 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4087, allocations: 1.375 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.4325, allocations: 3.407 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.5, allocations: 12.97 kB / 0.5313 GB, free: 10.37 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_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_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches