Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, 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.2221/0.2221, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4362, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00348/0.4398, allocations: 1.935 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4417, allocations: 1.059 MB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.4419, allocations: 1.812 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.4423, allocations: 48.62 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.4426, allocations: 99.42 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.4429, allocations: 94.05 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.4432, allocations: 149.7 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.4433, allocations: 29.92 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4435, allocations: 57.72 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4436, allocations: 49.45 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.4436, allocations: 6.875 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.4438, allocations: 50.17 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.4438, allocations: 22.8 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.4439, allocations: 59.97 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.4442, allocations: 152.5 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4442, allocations: 4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4442, allocations: 1.375 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4443, allocations: 0 / 0.5343 GB, free: 10.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007465/0.445, allocations: 488 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4451, allocations: 9.625 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.4451, allocations: 49.41 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.4452, allocations: 17.09 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.4455, allocations: 239.7 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4456, allocations: 11.06 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4456, allocations: 9.438 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4458, allocations: 103.1 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4458, allocations: 1.375 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4459, allocations: 5.375 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4459, allocations: 5.375 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.446, allocations: 49.91 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.4466, allocations: 0.4966 MB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.447, allocations: 95.7 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4471, allocations: 35.81 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.4471, allocations: 5.328 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.4473, allocations: 85.25 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4474, allocations: 4 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003995/0.4478, allocations: 143.2 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4478, allocations: 53.56 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.448, allocations: 203.1 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4481, allocations: 30.83 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.4481, allocations: 118.8 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.4482, allocations: 31.31 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.4482, allocations: 35.3 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4484, allocations: 322.2 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.4485, allocations: 28.17 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.4486, allocations: 68.64 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.4488, allocations: 102.3 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4488, allocations: 3.938 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003029/0.4491, allocations: 133.8 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4492, allocations: 14.23 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4492, allocations: 1.344 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4492, allocations: 5.5 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.4493, allocations: 18.94 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4493, allocations: 5.234 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.4494, allocations: 13.39 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.4494, allocations: 4.125 kB / 0.5372 GB, free: 7.848 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 0.0001225/0.4496, allocations: 130.7 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4496, allocations: 14.38 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.4496, allocations: 23.25 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4497, allocations: 4.969 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4497, allocations: 0 / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4497, allocations: 0 / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.4499, allocations: 214.8 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4499, allocations: 1.375 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.45, allocations: 8.375 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.45, allocations: 1.281 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.45, allocations: 1.156 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.45, allocations: 5.094 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.45, allocations: 7.984 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.4504, allocations: 177.3 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.4505, allocations: 100.3 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.4505, allocations: 1.438 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.4506, allocations: 16.05 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.4506, allocations: 2.938 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.4507, allocations: 16.33 kB / 0.5379 GB, free: 7.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.4508, allocations: 141.2 kB / 0.538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4508, allocations: 3.938 kB / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.4511, allocations: 27.56 kB / 0.5381 GB, free: 7.07 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.001506/0.4526, allocations: 1.014 MB / 0.5391 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4529, allocations: 74.31 kB / 0.5391 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4529, allocations: 5.031 kB / 0.5391 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.453, allocations: 34.61 kB / 0.5392 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4533, allocations: 51.86 kB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4554, allocations: 1.76 MB / 0.5409 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.4557, allocations: 0.7121 MB / 0.5416 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.4558, allocations: 19.16 kB / 0.5417 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.4559, allocations: 48.39 kB / 0.5417 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4559, allocations: 4 kB / 0.5417 GB, free: 3.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.4853, allocations: 3.81 MB / 0.5454 GB, free: 1.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.098, allocations: 14.55 kB / 0.5454 GB, free: 1.922 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches