Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, 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.002398/0.002398, allocations: 202 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.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4564, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002925/0.4594, allocations: 1.737 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.4611, allocations: 1.015 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.4612, allocations: 5.094 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.4616, allocations: 58.06 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.462, allocations: 97.78 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.4622, allocations: 79.83 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.4625, allocations: 105 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.4627, allocations: 16.17 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.4628, allocations: 39.45 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.463, allocations: 41.39 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.463, allocations: 4.125 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4632, allocations: 43.42 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.4632, allocations: 24.3 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.4633, allocations: 49.23 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.4636, allocations: 138 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4636, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4636, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4636, allocations: 5.375 kB / 0.534 GB, free: 10.8 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.0007048/0.4644, allocations: 456.8 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4644, allocations: 9.625 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.4645, allocations: 34.69 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.4645, allocations: 19.72 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.4649, allocations: 228.4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4649, allocations: 5.734 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4649, allocations: 5.312 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.4651, allocations: 58.05 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4651, allocations: 1.375 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4651, allocations: 0 / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4651, allocations: 1.375 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.4652, allocations: 25.55 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.4656, allocations: 297.8 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4658, allocations: 52.56 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.4659, allocations: 26.47 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.4659, allocations: 1.375 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.4661, allocations: 65.08 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4661, allocations: 0 / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.4667, allocations: 201 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4668, allocations: 53.53 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.4671, allocations: 288 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4671, allocations: 26.67 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.4672, allocations: 116.3 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4673, allocations: 19.67 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4673, allocations: 24.14 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4675, allocations: 327.4 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.4676, allocations: 23.2 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.4677, allocations: 39.2 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4678, allocations: 64.25 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4678, allocations: 0 / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.468, allocations: 108.8 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4681, allocations: 5.812 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4681, allocations: 9.062 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4681, allocations: 1.125 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.4682, allocations: 24.45 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4682, allocations: 1.031 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.4683, allocations: 10.25 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.4683, allocations: 2.375 kB / 0.5365 GB, free: 8.48 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.0001196/0.4684, allocations: 134.4 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4684, allocations: 19.83 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.4685, allocations: 25.45 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4685, allocations: 5.188 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4685, allocations: 0 / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4685, allocations: 5.094 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.469, allocations: 397.6 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.469, allocations: 0 / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.4691, allocations: 11.62 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4691, allocations: 5.125 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4691, allocations: 9.391 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4691, allocations: 5.375 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4691, allocations: 0 / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.4694, allocations: 207.5 kB / 0.5373 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.4695, allocations: 88.73 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.4695, allocations: 5.312 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.4696, allocations: 6.172 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.4696, allocations: 7.531 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4696, allocations: 6.906 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.4699, allocations: 217.2 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4699, allocations: 0 / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4701, allocations: 26.28 kB / 0.5376 GB, free: 7.484 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.001517/0.4717, allocations: 1.096 MB / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4719, allocations: 61.8 kB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4719, allocations: 5.125 kB / 0.5387 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.472, allocations: 29.28 kB / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.4723, allocations: 46.38 kB / 0.5388 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4744, allocations: 1.856 MB / 0.5406 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4748, allocations: 0.7242 MB / 0.5413 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.4748, allocations: 18.22 kB / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.4749, allocations: 47.69 kB / 0.5414 GB, free: 4.262 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4749, allocations: 0 / 0.5414 GB, free: 4.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.4978, allocations: 3.83 MB / 0.5451 GB, free: 2.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.181, allocations: 13.02 kB / 0.5451 GB, free: 2.207 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches