Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, 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.001171/0.001171, 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.508/1.508, 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.252/0.252, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4512, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004309/0.4555, allocations: 1.7 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.4575, allocations: 0.999 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.4577, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.4581, allocations: 58.59 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.4586, allocations: 86.61 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.4589, allocations: 81.91 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.4592, allocations: 95.16 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.4593, allocations: 12.89 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.4594, allocations: 44.16 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.4595, allocations: 29.17 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.4596, allocations: 3.562 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4597, allocations: 28.33 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.4598, allocations: 34.56 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.4599, allocations: 44.33 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.4602, allocations: 119.8 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4602, allocations: 0 / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4602, allocations: 2.031 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4603, allocations: 0 / 0.5338 GB, free: 10.89 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.0007665/0.461, allocations: 444.5 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4611, allocations: 10.59 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.4612, allocations: 34.69 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.4612, allocations: 14.91 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.4617, allocations: 227.8 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4617, allocations: 1.469 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.4617, allocations: 6.75 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4619, allocations: 50.64 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4619, allocations: 4 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.462, allocations: 1.188 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.462, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.4621, allocations: 12.69 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.4624, allocations: 192.3 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4626, allocations: 62.17 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.4626, allocations: 21.11 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4627, allocations: 1.375 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.4628, allocations: 59.77 kB / 0.5349 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.888e-06/0.4629, allocations: 5.359 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003431/0.4632, allocations: 104 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.4633, allocations: 52.78 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.4636, allocations: 271.3 kB / 0.5353 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.4636, allocations: 29.7 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.4637, allocations: 116.4 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.4638, allocations: 18.59 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.4638, allocations: 21.83 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.464, allocations: 328.3 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.464, allocations: 10.88 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.4641, allocations: 28.7 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.4642, allocations: 54.39 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4643, allocations: 5.312 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001819/0.4644, allocations: 81.22 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4645, allocations: 4.125 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4645, allocations: 1.375 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4645, allocations: 1.375 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.4646, allocations: 16.17 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4646, allocations: 1.406 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.4647, allocations: 14.7 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4647, allocations: 1.375 kB / 0.536 GB, free: 8.77 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.0001241/0.4648, allocations: 135.1 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4649, allocations: 18.78 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.4649, allocations: 19.86 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4649, allocations: 1.375 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4649, allocations: 0 / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4649, allocations: 3.938 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.4651, allocations: 207.1 kB / 0.5364 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4652, allocations: 1.156 kB / 0.5364 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.4652, allocations: 3.219 kB / 0.5364 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4652, allocations: 0 / 0.5364 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4652, allocations: 9.016 kB / 0.5364 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4652, allocations: 1.031 kB / 0.5364 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4652, allocations: 0 / 0.5364 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4654, allocations: 115.5 kB / 0.5365 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.4655, allocations: 93.14 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4655, allocations: 5.188 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.4656, allocations: 1.312 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.4656, allocations: 5.516 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.4656, allocations: 7.031 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.4659, allocations: 198.7 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4659, allocations: 0 / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.4661, allocations: 25.27 kB / 0.5369 GB, free: 8.031 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.001432/0.4675, allocations: 0.9393 MB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.4677, allocations: 43.14 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4678, allocations: 0 / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.209e-05/0.4678, allocations: 20.41 kB / 0.5378 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4681, allocations: 31.56 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4707, allocations: 1.676 MB / 0.5395 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4711, allocations: 0.7154 MB / 0.5402 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.635e-05/0.4713, allocations: 16.09 kB / 0.5402 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.4714, allocations: 41.95 kB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4714, allocations: 7.938 kB / 0.5403 GB, free: 5.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.4966, allocations: 3.482 MB / 0.5437 GB, free: 3.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.092, allocations: 5.859 kB / 0.5437 GB, free: 3.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_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_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches