Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.00145, allocations: 198 kB / 18.73 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.454/1.454, 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.2296/0.2296, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 84.09 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3506, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002983/0.3537, allocations: 1.725 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3554, allocations: 1.025 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.3554, allocations: 1.562 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.3557, allocations: 44.92 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3561, allocations: 91.28 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.3563, allocations: 79.55 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3565, allocations: 109.3 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3566, allocations: 15.2 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.3567, allocations: 44.36 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.3568, allocations: 41.23 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3568, allocations: 3.812 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.3569, allocations: 40.05 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.357, allocations: 20.17 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.357, allocations: 39.86 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3572, allocations: 127.2 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3573, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3573, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3573, allocations: 1.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.0005368/0.3578, allocations: 428.8 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3579, allocations: 13.61 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3579, allocations: 36.12 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.358, allocations: 10.39 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.3582, allocations: 220.6 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3582, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3583, allocations: 10.69 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3584, allocations: 50.05 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3584, allocations: 0 / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3584, allocations: 5.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3584, allocations: 3.938 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.3585, allocations: 18.98 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.359, allocations: 290.8 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3591, allocations: 57.92 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.3592, allocations: 26.41 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3592, allocations: 5.312 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.3594, allocations: 69.14 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3594, allocations: 0 / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.36, allocations: 178.5 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.36, allocations: 52.78 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3602, allocations: 208 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3602, allocations: 31.08 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.3603, allocations: 101.6 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3603, allocations: 23.94 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3604, allocations: 28.41 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3605, allocations: 321.5 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.3606, allocations: 23.95 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.3607, allocations: 38.92 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3608, allocations: 63.89 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3608, allocations: 0 / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.361, allocations: 111.3 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.361, allocations: 5.625 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.361, allocations: 0 / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3611, allocations: 1.094 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.3611, allocations: 17.05 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3612, allocations: 1.125 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.3612, allocations: 10.59 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3612, allocations: 6.562 kB / 0.5363 GB, free: 8.625 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 9.941e-05/0.3613, allocations: 128.4 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3614, allocations: 13.59 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.3614, allocations: 15 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3614, allocations: 1.062 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3614, allocations: 3.938 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3614, allocations: 5.094 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3619, allocations: 400 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3619, allocations: 0 / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.362, allocations: 11.78 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.362, allocations: 9.031 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.362, allocations: 5.203 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.362, allocations: 1.25 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.362, allocations: 4.688 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.3622, allocations: 204.3 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.3623, allocations: 84.59 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3623, allocations: 10.44 kB / 0.5371 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.3624, allocations: 1.375 kB / 0.5371 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3624, allocations: 15.27 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3625, allocations: 3.375 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3626, allocations: 158.6 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3626, allocations: 0.6562 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3629, allocations: 25.17 kB / 0.5373 GB, free: 7.652 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.001502/0.3644, allocations: 1.095 MB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.3646, allocations: 61.69 kB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3646, allocations: 1.156 kB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.3647, allocations: 37.61 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3651, allocations: 22.97 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.3672, allocations: 1.693 MB / 0.5402 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3676, allocations: 0.7068 MB / 0.5409 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.3677, allocations: 22.58 kB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.3678, allocations: 38.92 kB / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3678, allocations: 0 / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.3878, allocations: 3.498 MB / 0.5443 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.01, allocations: 5.297 kB / 0.5443 GB, free: 2.637 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_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_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches