Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 201.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 83.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4357, allocations: 62.43 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003055/0.4388, allocations: 1.726 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.4416, allocations: 1.637 MB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.4418, allocations: 1.219 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.4421, allocations: 37.86 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.4425, allocations: 94.92 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.4428, allocations: 76.36 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.443, allocations: 106.3 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4431, allocations: 13.5 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4432, allocations: 45.66 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.4434, allocations: 50.89 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.4434, allocations: 5.5 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.4436, allocations: 111 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.4437, allocations: 20.05 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.4438, allocations: 36.03 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.4441, allocations: 170.3 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4441, allocations: 1.375 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.4441, allocations: 3.984 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4441, allocations: 0 / 0.5346 GB, free: 10.33 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.0005979/0.4447, allocations: 434.1 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4448, allocations: 9.625 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.4448, allocations: 36.12 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.4449, allocations: 12.97 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4452, allocations: 216 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.4452, allocations: 1.375 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.4452, allocations: 5.359 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4454, allocations: 74.45 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4454, allocations: 0 / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4455, allocations: 5.375 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4455, allocations: 0 / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.4455, allocations: 18.86 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.4459, allocations: 286.2 kB / 0.5357 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4461, allocations: 65.39 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.4462, allocations: 21.47 kB / 0.5358 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.4462, allocations: 1.406 kB / 0.5358 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4463, allocations: 68.52 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.4464, allocations: 1.188 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006068/0.447, allocations: 176.5 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.447, allocations: 86.27 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4472, allocations: 166.9 kB / 0.5362 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4472, allocations: 26.77 kB / 0.5363 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4473, allocations: 96.8 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.4474, allocations: 31.23 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.4474, allocations: 20.47 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4475, allocations: 322 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.4476, allocations: 23.33 kB / 0.5367 GB, free: 8.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.4477, allocations: 48.62 kB / 0.5368 GB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4478, allocations: 55.67 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4478, allocations: 0 / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.448, allocations: 103.2 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4481, allocations: 8.312 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4481, allocations: 192 / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4481, allocations: 5.219 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4482, allocations: 25.45 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4482, allocations: 1.125 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.4483, allocations: 2.188 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4483, allocations: 6.031 kB / 0.537 GB, free: 8.066 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.0001016/0.4484, allocations: 125 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4484, allocations: 8.859 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4485, allocations: 13.12 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4485, allocations: 3.938 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4485, allocations: 5.125 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4485, allocations: 0 / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.449, allocations: 400.8 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.449, allocations: 7.922 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.449, allocations: 8.531 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.449, allocations: 1.094 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.449, allocations: 5.219 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4491, allocations: 1.281 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4491, allocations: 5.281 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.4493, allocations: 195.3 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.4493, allocations: 104.7 kB / 0.5378 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.4494, allocations: 5.219 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.4494, allocations: 2.625 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4495, allocations: 6.672 kB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4495, allocations: 12.06 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4496, allocations: 123.7 kB / 0.538 GB, free: 7.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4496, allocations: 0 / 0.538 GB, free: 7.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.4499, allocations: 50.05 kB / 0.538 GB, free: 7.102 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.001619/0.4516, allocations: 1.18 MB / 0.5392 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4518, allocations: 63.03 kB / 0.5392 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4518, allocations: 0 / 0.5392 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.4519, allocations: 30.12 kB / 0.5392 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4522, allocations: 37.06 kB / 0.5393 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.4538, allocations: 1.58 MB / 0.5408 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4541, allocations: 0.6995 MB / 0.5415 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.4542, allocations: 27.3 kB / 0.5415 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.4542, allocations: 38.7 kB / 0.5416 GB, free: 3.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.684e-06/0.4542, allocations: 0 / 0.5416 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.4813, allocations: 4.024 MB / 0.5455 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.1, allocations: 8.719 kB / 0.5455 GB, free: 1.734 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches