Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 118.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.001463/0.001464, allocations: 201.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.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.001631, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4438, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00342/0.4472, allocations: 1.686 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.4494, allocations: 0.9986 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4495, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.45, allocations: 88.09 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.4505, allocations: 119.3 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.4508, allocations: 73.98 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.4511, allocations: 109.8 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.4512, allocations: 5.734 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.4514, allocations: 56.33 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.4515, allocations: 51.33 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4515, allocations: 2.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.4516, allocations: 36.61 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.4517, allocations: 32.09 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.4518, allocations: 35.94 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.4521, allocations: 111.1 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4521, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4521, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4521, allocations: 1.375 kB / 0.5339 GB, free: 10.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006958/0.4528, allocations: 420.9 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4529, allocations: 9.625 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.4529, allocations: 36.11 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.453, allocations: 20.91 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.4534, allocations: 217.9 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4534, allocations: 384 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.4534, allocations: 6.688 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4536, allocations: 51.3 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4536, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4536, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4536, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.4537, allocations: 16.23 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.454, allocations: 184.8 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4541, allocations: 59.05 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.4542, allocations: 17.11 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4542, allocations: 3.984 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.4544, allocations: 69.14 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.4544, allocations: 0 / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003065/0.4547, allocations: 104 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4548, allocations: 52.78 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4551, allocations: 221.6 kB / 0.5353 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4551, allocations: 25.7 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.4552, allocations: 105.9 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.4552, allocations: 18.31 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.4553, allocations: 23.56 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4554, allocations: 321.8 kB / 0.5358 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.4555, allocations: 16.39 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.4556, allocations: 26.97 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4557, allocations: 48.02 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4557, allocations: 3.938 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001739/0.4559, allocations: 84.34 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4559, allocations: 8.672 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.4559, allocations: 5.25 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.456, allocations: 0 / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.456, allocations: 13.16 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4561, allocations: 1.062 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.4561, allocations: 2.344 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4561, allocations: 6.281 kB / 0.536 GB, free: 8.793 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 (7): * Single equations (assignments): 7 * 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.0001287/0.4563, allocations: 137 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.4563, allocations: 13.5 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.4563, allocations: 18.64 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4564, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4564, allocations: 1.094 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4564, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4565, allocations: 190.8 kB / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4566, allocations: 1.188 kB / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.4566, allocations: 3.344 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4566, allocations: 0 / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4566, allocations: 5.438 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4566, allocations: 5.078 kB / 0.5364 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4566, allocations: 4 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4568, allocations: 122.1 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.4569, allocations: 84.41 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.457, allocations: 1.188 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.457, allocations: 5.047 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.457, allocations: 6.281 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4571, allocations: 6.344 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.4572, allocations: 165.1 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4572, allocations: 0 / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.4575, allocations: 25.64 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001375/0.4588, allocations: 0.9492 MB / 0.5377 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.459, allocations: 39.92 kB / 0.5377 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4591, allocations: 0 / 0.5377 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.4591, allocations: 24.52 kB / 0.5377 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.4594, allocations: 39.97 kB / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.4612, allocations: 1.56 MB / 0.5393 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4615, allocations: 0.714 MB / 0.54 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.4616, allocations: 11.48 kB / 0.54 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.4616, allocations: 34.8 kB / 0.5401 GB, free: 5.176 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4617, allocations: 0 / 0.5401 GB, free: 5.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.4827, allocations: 3.25 MB / 0.5432 GB, free: 3.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.012, allocations: 6.188 kB / 0.5432 GB, free: 3.41 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches