Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001113, allocations: 121 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 202 kB / 18.74 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.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4407, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003219/0.4439, allocations: 1.735 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4456, allocations: 1.033 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.4457, allocations: 5.344 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.446, allocations: 45.67 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.4464, allocations: 98 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.4466, allocations: 78.16 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4468, allocations: 103.8 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4469, allocations: 10.55 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.447, allocations: 55.09 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.4471, allocations: 44.42 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.4471, allocations: 9.375 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.4473, allocations: 113.4 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.4474, allocations: 23.98 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.4474, allocations: 33.42 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.4477, allocations: 175.6 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4477, allocations: 1.375 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4477, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.4477, allocations: 0 / 0.5341 GB, free: 10.73 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.0005568/0.4483, allocations: 439.5 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4483, allocations: 13.62 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.4484, allocations: 40.05 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.4484, allocations: 12.95 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.4487, allocations: 214.3 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4488, allocations: 3.125 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4488, allocations: 9.312 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.449, allocations: 66.52 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.449, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.449, allocations: 5.375 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.449, allocations: 1.375 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.4491, allocations: 21.55 kB / 0.5349 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.4494, allocations: 276.1 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.4496, allocations: 67.42 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.4497, allocations: 29.34 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4497, allocations: 1.375 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4499, allocations: 74.44 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4499, allocations: 0 / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006067/0.4505, allocations: 208.7 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4506, allocations: 79.61 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.4508, allocations: 168.7 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.4508, allocations: 30.86 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.4509, allocations: 100 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.4509, allocations: 32.8 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.451, allocations: 21.75 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4511, allocations: 326.9 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.4512, allocations: 26.92 kB / 0.5362 GB, free: 8.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.4513, allocations: 69.11 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4514, allocations: 76.8 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4514, allocations: 0 / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002243/0.4516, allocations: 123.8 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4517, allocations: 5.656 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4517, allocations: 1.031 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4517, allocations: 1.031 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4518, allocations: 20.98 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4518, allocations: 9.188 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.4519, allocations: 2.156 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4519, allocations: 7.031 kB / 0.5365 GB, free: 8.41 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 (13): * Single equations (assignments): 13 * 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 9.622e-05/0.452, allocations: 129.5 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.452, allocations: 12.5 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.4521, allocations: 17.19 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4521, allocations: 1.312 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4521, allocations: 11.88 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4521, allocations: 9.109 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.4526, allocations: 425.6 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4526, allocations: 4.938 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.4527, allocations: 10.09 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4527, allocations: 0.9062 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4527, allocations: 6.125 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.4527, allocations: 4.953 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4527, allocations: 1.281 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.453, allocations: 219.9 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.453, allocations: 87.28 kB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.4531, allocations: 6.391 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.4532, allocations: 6.688 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.4532, allocations: 7.484 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4532, allocations: 4.125 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4533, allocations: 131.4 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4534, allocations: 0 / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.4537, allocations: 56.62 kB / 0.5376 GB, free: 7.406 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 (10): * Single equations (assignments): 8 * 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.001645/0.4553, allocations: 1.208 MB / 0.5388 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4556, allocations: 72.41 kB / 0.5389 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4556, allocations: 0 / 0.5389 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.4557, allocations: 37.77 kB / 0.5389 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.456, allocations: 30.08 kB / 0.539 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4579, allocations: 1.671 MB / 0.5406 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4583, allocations: 0.7044 MB / 0.5413 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.4584, allocations: 25.16 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.4585, allocations: 34.64 kB / 0.5413 GB, free: 4.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4585, allocations: 384 / 0.5413 GB, free: 4.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.4816, allocations: 4.222 MB / 0.5455 GB, free: 1.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.096, allocations: 5.094 kB / 0.5455 GB, free: 1.895 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches