Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 207.8 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.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4482, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003344/0.4516, allocations: 1.721 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4534, allocations: 1.031 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.4535, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.4539, allocations: 49.47 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.4542, allocations: 103.5 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.4544, allocations: 78.92 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.4546, allocations: 108.9 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4547, allocations: 6.875 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.4549, allocations: 40.3 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.4549, allocations: 42.77 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.455, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4551, allocations: 43.48 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.4552, allocations: 26.86 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.4552, allocations: 53.22 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.4555, allocations: 140.6 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.4555, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.4555, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4555, allocations: 1.375 kB / 0.534 GB, free: 10.82 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.000604/0.4561, allocations: 451.5 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4562, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.4562, allocations: 40.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.4563, allocations: 14.34 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.4566, allocations: 220.2 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4566, allocations: 3.031 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.4567, allocations: 9.281 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4569, allocations: 58.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4569, allocations: 0 / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4569, allocations: 7.984 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.4569, allocations: 1.469 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.457, allocations: 22.52 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.4575, allocations: 298.8 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.4577, allocations: 58.05 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.4577, allocations: 26.81 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4578, allocations: 0 / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.458, allocations: 65.58 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.458, allocations: 0 / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006772/0.4586, allocations: 188.3 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.4587, allocations: 53.66 kB / 0.5354 GB, free: 9.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4591, allocations: 274.5 kB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.4592, allocations: 26.77 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4593, allocations: 116.2 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.4594, allocations: 27.25 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.4594, allocations: 24.38 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4596, allocations: 324.1 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.4597, allocations: 23.02 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.4598, allocations: 40.02 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.46, allocations: 62.42 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.46, allocations: 0 / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/0.4602, allocations: 105.4 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4602, allocations: 5.906 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4603, allocations: 3.938 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4603, allocations: 1.562 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4604, allocations: 17.83 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4604, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.4605, allocations: 10.69 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4605, allocations: 7.156 kB / 0.5364 GB, free: 8.516 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.0001651/0.4607, allocations: 136.9 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.4607, allocations: 14.78 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.4608, allocations: 21.64 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4608, allocations: 1.375 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4608, allocations: 4 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4609, allocations: 7.875 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.4614, allocations: 412.6 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4615, allocations: 1.438 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.4615, allocations: 11.61 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4615, allocations: 5.531 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4615, allocations: 1.094 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4615, allocations: 0.6875 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4615, allocations: 1.531 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4619, allocations: 213.5 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.462, allocations: 92.38 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.462, allocations: 5.938 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.4621, allocations: 10.3 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.4622, allocations: 3.25 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4622, allocations: 3.062 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4624, allocations: 203.5 kB / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4624, allocations: 0 / 0.5375 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.4627, allocations: 25.25 kB / 0.5376 GB, free: 7.516 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.001841/0.4646, allocations: 1.102 MB / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.4648, allocations: 49.67 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4648, allocations: 0 / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.4649, allocations: 33.95 kB / 0.5387 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.4653, allocations: 28.38 kB / 0.5387 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.4676, allocations: 1.838 MB / 0.5405 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.468, allocations: 0.7131 MB / 0.5412 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.4681, allocations: 14.34 kB / 0.5413 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.4682, allocations: 47.42 kB / 0.5413 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 3.036e-06/0.4682, allocations: 0 / 0.5413 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.4904, allocations: 3.799 MB / 0.545 GB, free: 2.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.086, allocations: 9.438 kB / 0.545 GB, free: 2.297 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_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_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches