Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, 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.001677/0.001677, 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.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 83.86 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4572, allocations: 62.43 MB / 0.5306 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003445/0.4607, allocations: 1.737 MB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4625, allocations: 1.018 MB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.4626, allocations: 5.031 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.463, allocations: 81.3 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.4633, allocations: 120.4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.4636, allocations: 77.81 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.4638, allocations: 121.4 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4639, allocations: 10.88 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.464, allocations: 49.78 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4641, allocations: 64.62 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4642, allocations: 4.125 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4643, allocations: 43.48 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.4644, allocations: 28.09 kB / 0.5339 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.4644, allocations: 35.98 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.4647, allocations: 124.5 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4647, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4647, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.4647, allocations: 1.375 kB / 0.534 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006011/0.4653, allocations: 434.2 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4654, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.4654, allocations: 32.12 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4655, allocations: 18.33 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.4658, allocations: 221.9 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4658, allocations: 1.75 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4658, allocations: 5.312 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.466, allocations: 58.05 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.466, allocations: 1.375 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.466, allocations: 3.938 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.466, allocations: 1.375 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.4661, allocations: 21.61 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.4665, allocations: 293.5 kB / 0.5351 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4667, allocations: 64.53 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.4668, allocations: 18.48 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4668, allocations: 5.359 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.467, allocations: 69.08 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.467, allocations: 0 / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.4676, allocations: 175.4 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4676, allocations: 64.48 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.4679, allocations: 225.9 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4679, allocations: 30.95 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.468, allocations: 105.5 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.468, allocations: 27.19 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.4681, allocations: 21.19 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4682, allocations: 322.1 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.4683, allocations: 23.92 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.4684, allocations: 39.3 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4685, allocations: 62.3 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4685, allocations: 1.25 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4687, allocations: 95.38 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4687, allocations: 5.188 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4687, allocations: 1.125 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4688, allocations: 5.156 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.4689, allocations: 25.39 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4689, allocations: 1.062 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.4689, allocations: 9.156 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.469, allocations: 3.406 kB / 0.5364 GB, free: 8.598 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.0001146/0.4691, allocations: 129.2 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4691, allocations: 13.53 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.4692, allocations: 19.27 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4692, allocations: 1.188 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4692, allocations: 5.375 kB / 0.5366 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4692, allocations: 3.938 kB / 0.5366 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.4697, allocations: 392.6 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4697, allocations: 192 / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.4697, allocations: 11.64 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4697, allocations: 9.25 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4697, allocations: 1.469 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4698, allocations: 1.25 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4698, allocations: 9.469 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.47, allocations: 204 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.4701, allocations: 84.69 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4701, allocations: 14.61 kB / 0.5373 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.4702, allocations: 1.906 kB / 0.5373 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.4702, allocations: 3.125 kB / 0.5373 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4703, allocations: 11.42 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4704, allocations: 164.8 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4704, allocations: 0 / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.4707, allocations: 25.16 kB / 0.5375 GB, free: 7.629 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.001636/0.4723, allocations: 1.101 MB / 0.5385 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.4726, allocations: 58.3 kB / 0.5386 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4726, allocations: 0 / 0.5386 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.4727, allocations: 33.39 kB / 0.5386 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.4731, allocations: 32.31 kB / 0.5387 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.4754, allocations: 1.715 MB / 0.5403 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4759, allocations: 0.7088 MB / 0.541 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.4759, allocations: 17.98 kB / 0.541 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.476, allocations: 39.52 kB / 0.5411 GB, free: 4.484 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.476, allocations: 1.25 kB / 0.5411 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.4991, allocations: 3.556 MB / 0.5446 GB, free: 2.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.994, allocations: 12.27 kB / 0.5446 GB, free: 2.566 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches