Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 203.9 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.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 76.09 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3927, allocations: 62.44 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003012/0.3957, allocations: 1.723 MB / 0.5323 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.3981, allocations: 1.628 MB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.3982, allocations: 5.375 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3985, allocations: 37.39 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3988, allocations: 100.4 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.399, allocations: 82.91 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3992, allocations: 105.1 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3994, allocations: 18.8 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.3995, allocations: 53.64 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3997, allocations: 48.33 kB / 0.5343 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3997, allocations: 5.5 kB / 0.5343 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.3999, allocations: 112.4 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.4, allocations: 21.42 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.4001, allocations: 41.36 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.4004, allocations: 173 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4004, allocations: 0 / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4004, allocations: 0 / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4004, allocations: 1.375 kB / 0.5346 GB, free: 10.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006582/0.4011, allocations: 447.4 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4011, allocations: 9.625 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.4012, allocations: 36.09 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.4012, allocations: 10.2 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.4016, allocations: 220.6 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4017, allocations: 1.844 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.4017, allocations: 14.5 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.4019, allocations: 73.84 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.402, allocations: 7.953 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.402, allocations: 1.219 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.402, allocations: 0 / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4021, allocations: 27.73 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.4027, allocations: 305.3 kB / 0.5357 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.403, allocations: 69.23 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.4031, allocations: 23.86 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4031, allocations: 2.156 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.4034, allocations: 75.81 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.4034, allocations: 3.938 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008371/0.4042, allocations: 204.5 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.4043, allocations: 78.2 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.4046, allocations: 174.5 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.4046, allocations: 30.8 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.4047, allocations: 104.8 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.4048, allocations: 32.36 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.4048, allocations: 21.62 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.405, allocations: 326.2 kB / 0.5368 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.4051, allocations: 24.67 kB / 0.5369 GB, free: 7.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.4052, allocations: 50.94 kB / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4053, allocations: 72.3 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4054, allocations: 0.9688 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.4056, allocations: 118.7 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4056, allocations: 5.125 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4057, allocations: 1.5 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4057, allocations: 64 / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4058, allocations: 27.73 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4058, allocations: 0 / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.4059, allocations: 6.438 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4059, allocations: 7.719 kB / 0.5371 GB, free: 7.781 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 (11): * Single equations (assignments): 11 * 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.0001167/0.406, allocations: 124.7 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.4061, allocations: 13.84 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.4061, allocations: 13.28 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4061, allocations: 1.094 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4062, allocations: 4 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4062, allocations: 4.969 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.4067, allocations: 418 kB / 0.5377 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4067, allocations: 1.094 kB / 0.5377 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.4067, allocations: 12.95 kB / 0.5377 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4067, allocations: 5.531 kB / 0.5377 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4068, allocations: 1.5 kB / 0.5377 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4068, allocations: 1.031 kB / 0.5377 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4068, allocations: 0.7812 kB / 0.5377 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.407, allocations: 231.4 kB / 0.5379 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.4071, allocations: 84.25 kB / 0.538 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4071, allocations: 5.938 kB / 0.538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.4072, allocations: 2.188 kB / 0.538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.4073, allocations: 12.36 kB / 0.538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4073, allocations: 7.25 kB / 0.538 GB, free: 6.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.4074, allocations: 131.1 kB / 0.5382 GB, free: 6.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4074, allocations: 0 / 0.5382 GB, free: 6.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.4077, allocations: 51.58 kB / 0.5382 GB, free: 6.797 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 (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.002152/0.4099, allocations: 1.198 MB / 0.5394 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.4101, allocations: 67.84 kB / 0.5395 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4102, allocations: 1.031 kB / 0.5395 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.4102, allocations: 31.48 kB / 0.5395 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.4106, allocations: 42.77 kB / 0.5395 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4125, allocations: 1.651 MB / 0.5411 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4128, allocations: 0.7012 MB / 0.5418 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.083e-05/0.4129, allocations: 33.17 kB / 0.5419 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.413, allocations: 39.36 kB / 0.5419 GB, free: 3.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.413, allocations: 3.938 kB / 0.5419 GB, free: 3.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.4346, allocations: 4.162 MB / 0.546 GB, free: 1.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.997, allocations: 12.55 kB / 0.546 GB, free: 1.324 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches