Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001774, allocations: 201.2 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.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4373, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003138/0.4405, allocations: 1.733 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4424, allocations: 1.019 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.4425, allocations: 9.25 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.4428, allocations: 45.8 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.4432, allocations: 102.3 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.4435, allocations: 75.38 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.4437, allocations: 104.3 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4438, allocations: 18.86 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4439, allocations: 40.3 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.444, allocations: 34.78 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4441, allocations: 2.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4442, allocations: 44.8 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.4443, allocations: 30.91 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.4443, allocations: 41.3 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4446, allocations: 140.6 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4446, allocations: 4 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4446, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4446, allocations: 0 / 0.534 GB, free: 10.83 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.0006444/0.4453, allocations: 451.5 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4453, allocations: 13.61 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.4454, allocations: 36.06 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.4454, allocations: 15.72 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.4457, allocations: 220.4 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4458, allocations: 5.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4458, allocations: 6.688 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.446, allocations: 54.05 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.446, allocations: 3.938 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.446, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.446, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.4461, allocations: 18.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.4465, allocations: 306.8 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4467, allocations: 61.92 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.4468, allocations: 18.48 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.4468, allocations: 0 / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.447, allocations: 69.08 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.847e-06/0.447, allocations: 5.375 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006063/0.4476, allocations: 188 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4476, allocations: 52.56 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.448, allocations: 279.8 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.448, allocations: 30.95 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.4481, allocations: 115.7 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.4481, allocations: 23.17 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.4482, allocations: 24.58 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4484, allocations: 332.4 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.4484, allocations: 18.02 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.4485, allocations: 39.52 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4487, allocations: 55.58 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4487, allocations: 0 / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002621/0.4489, allocations: 113.1 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.449, allocations: 9.75 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.449, allocations: 0 / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.449, allocations: 1.188 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.4491, allocations: 21.89 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4491, allocations: 3.984 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.4492, allocations: 6.531 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4492, allocations: 3.375 kB / 0.5364 GB, free: 8.52 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.0001267/0.4493, allocations: 135 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.4494, allocations: 18.81 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.4494, allocations: 25.33 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4494, allocations: 1.25 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4494, allocations: 1.125 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.4495, allocations: 3.938 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.45, allocations: 403.8 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.45, allocations: 1.5 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.4501, allocations: 6.75 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4501, allocations: 5.094 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4501, allocations: 10.31 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4501, allocations: 5.156 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4501, allocations: 3.984 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.4504, allocations: 201.9 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.4504, allocations: 93.42 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4505, allocations: 6.281 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.4505, allocations: 5.344 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.4506, allocations: 7.578 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4506, allocations: 3.125 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.4508, allocations: 207.9 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4508, allocations: 192 / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.4511, allocations: 25.06 kB / 0.5376 GB, free: 7.527 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.001494/0.4526, allocations: 1.101 MB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.4528, allocations: 70.11 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4528, allocations: 0 / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.4529, allocations: 37.06 kB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4533, allocations: 28.77 kB / 0.5388 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4554, allocations: 1.825 MB / 0.5405 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4558, allocations: 0.721 MB / 0.5412 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.4559, allocations: 13.91 kB / 0.5413 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.456, allocations: 44.17 kB / 0.5413 GB, free: 4.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.456, allocations: 0 / 0.5413 GB, free: 4.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.4797, allocations: 3.782 MB / 0.545 GB, free: 2.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.267, allocations: 13.03 kB / 0.545 GB, free: 2.301 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches