Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 199.8 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.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4561, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003663/0.4598, allocations: 1.684 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.4616, allocations: 0.999 MB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.4617, allocations: 0 / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.462, allocations: 59.44 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.4624, allocations: 98.52 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.4626, allocations: 69.69 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.4628, allocations: 98 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.4629, allocations: 18.09 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.463, allocations: 43.09 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.4631, allocations: 26.83 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.4631, allocations: 1.875 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.4632, allocations: 37.41 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.4633, allocations: 30.58 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.4633, allocations: 40.08 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4636, allocations: 120.5 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4636, allocations: 4 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4636, allocations: 0 / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.4636, allocations: 4 kB / 0.5338 GB, free: 10.91 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.0006456/0.4642, allocations: 446.2 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4643, allocations: 9.625 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.4644, allocations: 36.12 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.4644, allocations: 10.39 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.4648, allocations: 224.2 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4648, allocations: 5.75 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4648, allocations: 5.312 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.465, allocations: 51.3 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.465, allocations: 3.938 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.465, allocations: 3.938 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.465, allocations: 1.375 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.4651, allocations: 16.23 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.4654, allocations: 191.5 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4656, allocations: 59.06 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.4656, allocations: 21.09 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.4657, allocations: 1.375 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4659, allocations: 63.77 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.4659, allocations: 0 / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003306/0.4662, allocations: 101.4 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4663, allocations: 52.78 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.4666, allocations: 275.3 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4666, allocations: 25.7 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.4667, allocations: 112.4 kB / 0.5355 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.4668, allocations: 25.2 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.4668, allocations: 19.22 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.467, allocations: 324.2 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.4671, allocations: 16.27 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.4671, allocations: 38.75 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.4672, allocations: 43.53 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4672, allocations: 3.938 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001752/0.4674, allocations: 85.36 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4675, allocations: 5.375 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4675, allocations: 0 / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4675, allocations: 1.625 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.4676, allocations: 16.38 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4676, allocations: 1.594 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.4677, allocations: 10.55 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4677, allocations: 5.734 kB / 0.536 GB, free: 8.797 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.0001266/0.4678, allocations: 136.9 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.4679, allocations: 14.62 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.4679, allocations: 16.69 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4679, allocations: 0 / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4679, allocations: 1.188 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4679, allocations: 4 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.4681, allocations: 203.6 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4681, allocations: 3.938 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.4682, allocations: 3.438 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4682, allocations: 0 / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4682, allocations: 1.062 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4682, allocations: 1.156 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4682, allocations: 3.938 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.4684, allocations: 128 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4685, allocations: 87.52 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.4685, allocations: 1.094 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.4686, allocations: 6.141 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4686, allocations: 2.438 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4686, allocations: 2.125 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4688, allocations: 206.7 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4688, allocations: 0 / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.469, allocations: 18.06 kB / 0.5369 GB, free: 8.066 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.001363/0.4704, allocations: 0.9519 MB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.4706, allocations: 35.08 kB / 0.5378 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4706, allocations: 0 / 0.5378 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.4707, allocations: 31.88 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.471, allocations: 31.81 kB / 0.5379 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.473, allocations: 1.673 MB / 0.5395 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4733, allocations: 0.7149 MB / 0.5402 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.4734, allocations: 16.08 kB / 0.5402 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4735, allocations: 41.92 kB / 0.5403 GB, free: 5.109 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4735, allocations: 0 / 0.5403 GB, free: 5.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.4993, allocations: 3.483 MB / 0.5437 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.149, allocations: 22.38 kB / 0.5437 GB, free: 3.219 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_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_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches