Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 122.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.001033/0.001033, allocations: 197.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.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4417, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003225/0.445, allocations: 1.729 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.447, allocations: 1.024 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.4471, allocations: 3.938 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.4475, allocations: 57.69 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.4478, allocations: 91.17 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.448, allocations: 82.78 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.4483, allocations: 102.5 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4484, allocations: 17.92 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.4485, allocations: 44.22 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.4486, allocations: 30.55 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.4486, allocations: 3.688 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4487, allocations: 48.25 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.4488, allocations: 26.92 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.4489, allocations: 41.3 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.4491, allocations: 140.6 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4491, allocations: 0 / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4491, allocations: 3.938 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.4491, allocations: 0 / 0.534 GB, free: 10.81 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.0006772/0.4498, allocations: 460.9 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.4499, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.4499, allocations: 34.69 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.45, allocations: 15.72 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4503, allocations: 220.4 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4503, allocations: 1.75 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4504, allocations: 10.67 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4505, allocations: 54.05 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4506, allocations: 7.938 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4506, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4506, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.4507, allocations: 22.92 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.4511, allocations: 298.9 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4513, allocations: 61.92 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.4514, allocations: 22.47 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4514, allocations: 1.375 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4516, allocations: 69.08 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4516, allocations: 0 / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006012/0.4522, allocations: 181 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4522, allocations: 55.41 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.4525, allocations: 275.8 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4526, allocations: 30.73 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.4526, allocations: 112 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4527, allocations: 27.28 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4527, allocations: 21 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4529, allocations: 328.2 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.453, allocations: 22.11 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.453, allocations: 40.08 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.4532, allocations: 62.59 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4532, allocations: 384 / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.4534, allocations: 105.7 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4535, allocations: 8.125 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4535, allocations: 0 / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4535, allocations: 1.094 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.4536, allocations: 29.92 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4536, allocations: 1.094 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4537, allocations: 9.719 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.4537, allocations: 2.156 kB / 0.5364 GB, free: 8.508 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 0.0001263/0.4538, allocations: 135.1 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.4539, allocations: 19.8 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.4539, allocations: 24.3 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4539, allocations: 1.188 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4539, allocations: 5.094 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.454, allocations: 3.938 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.4545, allocations: 409.1 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4545, allocations: 0 / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4545, allocations: 15.48 kB / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4545, allocations: 5.094 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4546, allocations: 6.062 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4546, allocations: 0.9688 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4546, allocations: 0 / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.4548, allocations: 202.5 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.4549, allocations: 92.48 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.455, allocations: 10.42 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.455, allocations: 1.375 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4551, allocations: 3.625 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4551, allocations: 8.016 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.4554, allocations: 206.6 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4554, allocations: 0 / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4556, allocations: 26.47 kB / 0.5376 GB, free: 7.512 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.001743/0.4574, allocations: 1.091 MB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.4576, allocations: 58.42 kB / 0.5387 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4576, allocations: 0 / 0.5387 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.4577, allocations: 34.02 kB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4581, allocations: 38.33 kB / 0.5388 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4605, allocations: 1.83 MB / 0.5405 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.461, allocations: 0.7216 MB / 0.5412 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.4611, allocations: 13.94 kB / 0.5413 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.4612, allocations: 43.2 kB / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4612, allocations: 0 / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.4847, allocations: 3.792 MB / 0.545 GB, free: 2.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.118, allocations: 12.72 kB / 0.545 GB, free: 2.293 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches