Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 121.6 kB / 17.78 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.001308/0.001308, allocations: 203.9 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.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.44 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.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.001701, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4378, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003451/0.4413, allocations: 1.722 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.4432, allocations: 1.027 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.4433, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.4436, allocations: 40.55 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.444, allocations: 94.8 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.4442, allocations: 76.3 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.4445, allocations: 108.9 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4446, allocations: 10.88 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.4447, allocations: 44.28 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.4448, allocations: 33.42 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.4448, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4449, allocations: 44.84 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.445, allocations: 17.42 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.4451, allocations: 32 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.4453, allocations: 120.4 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4453, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4453, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.4454, allocations: 5.375 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.0006256/0.446, allocations: 419.6 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.446, allocations: 13.56 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.4461, allocations: 38.73 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4461, allocations: 14.34 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4465, allocations: 211.2 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4465, allocations: 3.125 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.4465, allocations: 9.312 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4467, allocations: 57.98 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4467, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4467, allocations: 5.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4467, allocations: 5.312 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.4468, allocations: 17.61 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.4472, allocations: 282.9 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4475, allocations: 65.14 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.4476, allocations: 17.36 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4476, allocations: 1.344 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.4478, allocations: 65.36 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.4478, allocations: 0 / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000703/0.4485, allocations: 189.5 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4486, allocations: 52.78 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.4489, allocations: 189.7 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4489, allocations: 26.8 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.449, allocations: 101.8 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.449, allocations: 19.11 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.4491, allocations: 28.58 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4493, allocations: 322.1 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.4493, allocations: 19.03 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.4494, allocations: 39.3 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4496, allocations: 63.27 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.4496, allocations: 0 / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002656/0.4499, allocations: 107.3 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4499, allocations: 9.547 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.45, allocations: 5.188 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.45, allocations: 1.125 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4501, allocations: 12.69 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4501, allocations: 1.094 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.4502, allocations: 10.22 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.4502, allocations: 6.516 kB / 0.5362 GB, free: 8.645 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.0001519/0.4504, allocations: 126.2 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.4504, allocations: 13.05 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.4505, allocations: 18.23 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4505, allocations: 5.062 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4505, allocations: 0 / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4505, allocations: 4.875 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.4513, allocations: 389.7 kB / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4513, allocations: 3.938 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.4513, allocations: 11.89 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.4513, allocations: 5.406 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4514, allocations: 1.562 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4514, allocations: 5.25 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4514, allocations: 0 / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4517, allocations: 205.1 kB / 0.537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.4518, allocations: 87.77 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4518, allocations: 5.312 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.4519, allocations: 10.73 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.452, allocations: 6.75 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.452, allocations: 8.109 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.4521, allocations: 139.2 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4521, allocations: 0 / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.4524, allocations: 21.09 kB / 0.5372 GB, free: 7.688 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.001637/0.4541, allocations: 1.097 MB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4543, allocations: 58.94 kB / 0.5384 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4543, allocations: 4.062 kB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.4544, allocations: 33.23 kB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4548, allocations: 24.72 kB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4566, allocations: 1.635 MB / 0.54 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4569, allocations: 0.7044 MB / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.457, allocations: 10.7 kB / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.4571, allocations: 35.64 kB / 0.5407 GB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4571, allocations: 0 / 0.5407 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.479, allocations: 3.38 MB / 0.5441 GB, free: 2.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.159, allocations: 19.53 kB / 0.5441 GB, free: 2.75 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_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_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches