Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, 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.001823/0.001823, allocations: 202 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.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 84.11 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.386, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003539/0.3896, allocations: 1.939 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3915, allocations: 1.054 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3916, allocations: 6.094 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3919, allocations: 48.7 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.3923, allocations: 99.5 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3926, allocations: 89.69 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.3929, allocations: 158.1 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.393, allocations: 26.05 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3931, allocations: 56.78 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3933, allocations: 53.67 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3933, allocations: 6.594 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3934, allocations: 48.05 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.3935, allocations: 23.11 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.3936, allocations: 58.75 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3939, allocations: 148.3 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3939, allocations: 0 / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3939, allocations: 1.5 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3939, allocations: 4 kB / 0.5343 GB, free: 10.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007726/0.3947, allocations: 493.4 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.3948, allocations: 9.531 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.3948, allocations: 37.03 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.3949, allocations: 16.28 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3953, allocations: 244.4 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3954, allocations: 3.281 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3954, allocations: 16.31 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.3957, allocations: 110.4 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3957, allocations: 0 / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3957, allocations: 5.375 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3957, allocations: 1.375 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.3959, allocations: 43.47 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.3966, allocations: 0.5036 MB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.397, allocations: 91.7 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.3971, allocations: 44.09 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3971, allocations: 1.375 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3973, allocations: 81.31 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3973, allocations: 0 / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004091/0.3977, allocations: 151.4 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3978, allocations: 56.78 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.398, allocations: 203 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.398, allocations: 30.8 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.3981, allocations: 110.4 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3982, allocations: 35.95 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.3982, allocations: 31.33 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3983, allocations: 326.2 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.3984, allocations: 36.48 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.3985, allocations: 59.77 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3987, allocations: 97.88 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3988, allocations: 0 / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.399, allocations: 134.9 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3991, allocations: 5.469 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3991, allocations: 1.531 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3991, allocations: 6.219 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3992, allocations: 29.86 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3992, allocations: 6.344 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.3993, allocations: 20.41 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3993, allocations: 8.5 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001276/0.3995, allocations: 125.2 kB / 0.5373 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3995, allocations: 14.91 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.3996, allocations: 21.8 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3996, allocations: 5.031 kB / 0.5374 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3996, allocations: 0 / 0.5374 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3996, allocations: 5.219 kB / 0.5374 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3998, allocations: 214.2 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3998, allocations: 3.984 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.3999, allocations: 9.562 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3999, allocations: 1.219 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3999, allocations: 1.062 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3999, allocations: 5 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3999, allocations: 0 / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.4003, allocations: 185.5 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.4004, allocations: 88.48 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.4004, allocations: 5.25 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.4005, allocations: 12.23 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4006, allocations: 3.219 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4006, allocations: 3 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4007, allocations: 145.9 kB / 0.538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4007, allocations: 0 / 0.538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.401, allocations: 39.7 kB / 0.5381 GB, free: 7.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001518/0.4025, allocations: 1.02 MB / 0.5391 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.4028, allocations: 83.33 kB / 0.5391 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4028, allocations: 0 / 0.5391 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4029, allocations: 38.77 kB / 0.5392 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4032, allocations: 44.62 kB / 0.5392 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4053, allocations: 1.753 MB / 0.5409 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.4057, allocations: 0.716 MB / 0.5416 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.4057, allocations: 19.53 kB / 0.5417 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.4058, allocations: 44.89 kB / 0.5417 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4058, allocations: 3.938 kB / 0.5417 GB, free: 3.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.4351, allocations: 3.817 MB / 0.5454 GB, free: 1.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.192, allocations: 14.41 kB / 0.5454 GB, free: 1.918 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches