Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4247, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003254/0.428, allocations: 1.718 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.4297, allocations: 1.022 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.4298, allocations: 1.375 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.4301, allocations: 46.75 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.4304, allocations: 96.42 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.4306, allocations: 70.98 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.4308, allocations: 110.2 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.4309, allocations: 10.69 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.431, allocations: 47.52 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.4311, allocations: 29.98 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4311, allocations: 4.469 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4312, allocations: 47.12 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.4313, allocations: 19.11 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.4314, allocations: 37.02 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.4316, allocations: 121 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4316, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4317, allocations: 4 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4317, allocations: 0.9688 kB / 0.5339 GB, free: 10.86 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.0005667/0.4323, allocations: 424.6 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4323, allocations: 8.875 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.4324, allocations: 36.12 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4324, allocations: 10.58 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.4328, allocations: 220.2 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4328, allocations: 6.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4328, allocations: 10 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.433, allocations: 62.12 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.433, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.433, allocations: 1.25 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.433, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.4331, allocations: 22.3 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.4335, allocations: 291.1 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4337, allocations: 62.5 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.4337, allocations: 21.19 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4338, allocations: 1.25 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4339, allocations: 64.98 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4339, allocations: 0 / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.4345, allocations: 182 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4346, allocations: 53.81 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4348, allocations: 199.5 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4348, allocations: 27.36 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.4349, allocations: 100.5 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4349, allocations: 23.92 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.435, allocations: 28.58 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4351, allocations: 327 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.4352, allocations: 19 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.4352, allocations: 39.39 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.4354, allocations: 54.45 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4354, allocations: 0 / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.4356, allocations: 112.2 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4356, allocations: 9.531 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4356, allocations: 3.938 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4356, allocations: 1.375 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4357, allocations: 13.75 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4357, allocations: 0 / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.4358, allocations: 10.67 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.4358, allocations: 3.125 kB / 0.5362 GB, free: 8.645 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.0001021/0.4359, allocations: 127.4 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.4359, allocations: 13.41 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.436, allocations: 22.89 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.436, allocations: 0 / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.436, allocations: 5.375 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.436, allocations: 3.938 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.4365, allocations: 390.6 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4365, allocations: 3.984 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.4365, allocations: 7.625 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4366, allocations: 5.281 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4366, allocations: 10.12 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4366, allocations: 5.25 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4366, allocations: 0 / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.4369, allocations: 200.8 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.4369, allocations: 92.25 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.437, allocations: 9 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.437, allocations: 2.219 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.4371, allocations: 11.2 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4371, allocations: 4.281 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4372, allocations: 148.3 kB / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4372, allocations: 0 / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.4375, allocations: 24.69 kB / 0.5373 GB, free: 7.676 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.001512/0.439, allocations: 1.096 MB / 0.5383 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.4392, allocations: 58.59 kB / 0.5384 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4392, allocations: 0 / 0.5384 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.4393, allocations: 41.3 kB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4397, allocations: 25.05 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4415, allocations: 1.652 MB / 0.5401 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4419, allocations: 0.7055 MB / 0.5408 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.4419, allocations: 13.81 kB / 0.5408 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.442, allocations: 36.33 kB / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.442, allocations: 0 / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4669, allocations: 3.45 MB / 0.5442 GB, free: 2.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.106, allocations: 16.08 kB / 0.5442 GB, free: 2.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_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_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches