Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 199.8 kB / 18.74 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3983, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002997/0.4014, allocations: 1.729 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.403, allocations: 1.024 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.4031, allocations: 5.312 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.4034, allocations: 42.77 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.4037, allocations: 87.11 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.4039, allocations: 84.28 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.4041, allocations: 96.95 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4042, allocations: 22.84 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.4043, allocations: 40.3 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.4044, allocations: 33.31 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.4044, allocations: 4 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.4045, allocations: 47.75 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.4046, allocations: 14.84 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.4047, allocations: 40.67 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4049, allocations: 117.7 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4049, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.405, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.405, allocations: 5.219 kB / 0.5339 GB, free: 10.86 MB / 398.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.0005758/0.4055, allocations: 428 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4056, allocations: 9.969 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.4057, allocations: 35.94 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.4057, allocations: 10.02 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.406, allocations: 217.5 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4061, allocations: 1.5 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.4061, allocations: 9.266 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4062, allocations: 58.23 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4063, allocations: 1 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4063, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4063, allocations: 1.156 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.4064, allocations: 21.92 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.4068, allocations: 291.9 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4069, allocations: 53.66 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.407, allocations: 20.88 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.407, allocations: 6.125 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4072, allocations: 69.02 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4072, allocations: 0 / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00059/0.4078, allocations: 182.3 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4079, allocations: 56.5 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.4081, allocations: 200.9 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4082, allocations: 31.08 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.4082, allocations: 99.78 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4083, allocations: 27.75 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4083, allocations: 20.59 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4085, allocations: 326.2 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.4085, allocations: 23.58 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.4086, allocations: 35.45 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4087, allocations: 62.47 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4088, allocations: 1.375 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.4089, allocations: 102.8 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.409, allocations: 7.844 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.409, allocations: 5.312 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.409, allocations: 9.391 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.4091, allocations: 24.3 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4091, allocations: 1.375 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.4092, allocations: 5.312 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4092, allocations: 2.75 kB / 0.5363 GB, free: 8.633 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 9.903e-05/0.4093, allocations: 123.5 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.4093, allocations: 17.39 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.4094, allocations: 14.91 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4094, allocations: 5.375 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4094, allocations: 0 / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4094, allocations: 3.938 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.4098, allocations: 390.5 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4099, allocations: 1.031 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.4099, allocations: 7.625 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4099, allocations: 4.969 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.4099, allocations: 5.156 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4099, allocations: 1.031 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4099, allocations: 5.062 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.4102, allocations: 205 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.4102, allocations: 88.45 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4103, allocations: 5.031 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.4103, allocations: 10.19 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.4104, allocations: 7.391 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4104, allocations: 7.5 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4105, allocations: 149 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 3.938 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.4108, allocations: 24.94 kB / 0.5373 GB, free: 7.672 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.001767/0.4126, allocations: 1.093 MB / 0.5384 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.4128, allocations: 65.59 kB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4129, allocations: 1.156 kB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.4129, allocations: 32.89 kB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4133, allocations: 29.17 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4151, allocations: 1.64 MB / 0.5401 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.4154, allocations: 0.7136 MB / 0.5408 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.4155, allocations: 11.42 kB / 0.5408 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.4156, allocations: 39.62 kB / 0.5408 GB, free: 4.57 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4156, allocations: 0 / 0.5408 GB, free: 4.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.4356, allocations: 3.45 MB / 0.5442 GB, free: 2.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.901, allocations: 13.17 kB / 0.5442 GB, free: 2.699 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches