Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4394, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00332/0.4428, allocations: 1.72 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.4446, allocations: 1.022 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.21e-05/0.4447, allocations: 1.812 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.4451, allocations: 50.06 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.4454, allocations: 98.25 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.4457, allocations: 82.88 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.4459, allocations: 109.1 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.446, allocations: 10.86 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.4461, allocations: 48.27 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.4462, allocations: 34.8 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4462, allocations: 4.125 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4464, allocations: 39.48 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.4464, allocations: 24.16 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.4465, allocations: 49.3 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.4467, allocations: 124.5 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4468, allocations: 1.375 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4468, allocations: 3.938 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4468, allocations: 3.938 kB / 0.5339 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.0006566/0.4475, allocations: 435.5 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4475, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.4476, allocations: 40.11 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.4476, allocations: 10.39 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.4479, allocations: 223.6 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.448, allocations: 5.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.448, allocations: 6.688 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4482, allocations: 57.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4482, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4482, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4482, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.4483, allocations: 18.98 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4488, allocations: 301.6 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.449, allocations: 53.88 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.4491, allocations: 21.09 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.4491, allocations: 1.375 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.4493, allocations: 69.14 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.4493, allocations: 0 / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006303/0.4499, allocations: 188.2 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.45, allocations: 52.31 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4503, allocations: 244 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4503, allocations: 26.95 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.4504, allocations: 109.4 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.4504, allocations: 23.84 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.4505, allocations: 28.22 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4506, allocations: 323.7 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.4506, allocations: 22.3 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.4507, allocations: 40.45 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4508, allocations: 54.66 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4508, allocations: 4 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.4511, allocations: 109.1 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4511, allocations: 4.406 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4511, allocations: 1.125 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4511, allocations: 1.125 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.4512, allocations: 17.8 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4512, allocations: 0 / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.4513, allocations: 14.03 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4513, allocations: 3.438 kB / 0.5364 GB, free: 8.555 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.0001089/0.4514, allocations: 138.3 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4514, allocations: 13.78 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.4515, allocations: 23.61 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4515, allocations: 1.062 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4515, allocations: 1.156 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4515, allocations: 7.922 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.452, allocations: 393.1 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.452, allocations: 5.219 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.452, allocations: 12.23 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.452, allocations: 3.938 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.452, allocations: 2.594 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.452, allocations: 0 / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.452, allocations: 1.344 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.4523, allocations: 213.1 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.4524, allocations: 93.52 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.4524, allocations: 13.05 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.4525, allocations: 6.188 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.4525, allocations: 3.406 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4525, allocations: 7.109 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.4527, allocations: 174.3 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.453, allocations: 24.55 kB / 0.5374 GB, free: 7.562 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.001569/0.4546, allocations: 1.095 MB / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4548, allocations: 58.25 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4548, allocations: 1.094 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.4549, allocations: 28.64 kB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.4552, allocations: 28.77 kB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4571, allocations: 1.749 MB / 0.5403 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4574, allocations: 0.7134 MB / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.4575, allocations: 18.92 kB / 0.541 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.4575, allocations: 39.83 kB / 0.5411 GB, free: 4.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4575, allocations: 4 kB / 0.5411 GB, free: 4.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.4791, allocations: 3.604 MB / 0.5446 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.042, allocations: 17.02 kB / 0.5446 GB, free: 2.465 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_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_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches