Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 118.2 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.001458/0.001458, allocations: 205.2 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.4/1.4, 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.2095/0.2095, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 83.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002868/0.2977, allocations: 1.918 MB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2994, allocations: 1.128 MB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2995, allocations: 1.375 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.2999, allocations: 164.3 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.3004, allocations: 181.2 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3007, allocations: 120.4 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.301, allocations: 242.4 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3011, allocations: 28.81 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3013, allocations: 115.6 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3015, allocations: 131.7 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.3015, allocations: 8.594 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.3017, allocations: 62.23 kB / 0.5346 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.3018, allocations: 58.03 kB / 0.5347 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.3019, allocations: 90.55 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.3023, allocations: 223.6 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3023, allocations: 0 / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3023, allocations: 0 / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.3023, allocations: 0 / 0.5349 GB, free: 10.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008009/0.3031, allocations: 0.5509 MB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3031, allocations: 9.5 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.3032, allocations: 41.11 kB / 0.5355 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.3033, allocations: 33.31 kB / 0.5356 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3037, allocations: 279.4 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3037, allocations: 3.5 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3038, allocations: 21.45 kB / 0.5359 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.304, allocations: 108.7 kB / 0.536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3041, allocations: 5.234 kB / 0.536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3041, allocations: 1.281 kB / 0.536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3041, allocations: 1.281 kB / 0.536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3042, allocations: 49.44 kB / 0.536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3049, allocations: 469.5 kB / 0.5365 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.3053, allocations: 123.2 kB / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3054, allocations: 49.11 kB / 0.5366 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3054, allocations: 5.344 kB / 0.5366 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3057, allocations: 124 kB / 0.5368 GB, free: 8.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.3057, allocations: 0 / 0.5368 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.307, allocations: 0.4894 MB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.307, allocations: 79.55 kB / 0.5373 GB, free: 8.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.3075, allocations: 376.5 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3075, allocations: 32.89 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3076, allocations: 140.3 kB / 0.5378 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.3077, allocations: 81.92 kB / 0.5379 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.3078, allocations: 45.83 kB / 0.538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3079, allocations: 338.9 kB / 0.5383 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.308, allocations: 57.41 kB / 0.5383 GB, free: 7.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3082, allocations: 96.19 kB / 0.5384 GB, free: 7.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3085, allocations: 165.1 kB / 0.5386 GB, free: 7.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3085, allocations: 0 / 0.5386 GB, free: 7.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004211/0.309, allocations: 234 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.309, allocations: 10.47 kB / 0.5388 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.309, allocations: 1.094 kB / 0.5388 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.309, allocations: 2.156 kB / 0.5388 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3092, allocations: 51.44 kB / 0.5389 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3092, allocations: 5.719 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.3093, allocations: 12.5 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3093, allocations: 5.844 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001365/0.3094, allocations: 154.7 kB / 0.539 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.3095, allocations: 33.91 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.3096, allocations: 43.64 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3096, allocations: 3.688 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3096, allocations: 0 / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3096, allocations: 5.031 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.3105, allocations: 0.7141 MB / 0.5398 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3105, allocations: 1.406 kB / 0.5398 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.3106, allocations: 35.55 kB / 0.5398 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3106, allocations: 10.45 kB / 0.5399 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3107, allocations: 9 kB / 0.5399 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3107, allocations: 2.219 kB / 0.5399 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3107, allocations: 6.094 kB / 0.5399 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.3112, allocations: 420.9 kB / 0.5403 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.3112, allocations: 104.8 kB / 0.5404 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.3113, allocations: 12.36 kB / 0.5404 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3114, allocations: 3.688 kB / 0.5404 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.3115, allocations: 20.98 kB / 0.5404 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.3115, allocations: 12.64 kB / 0.5404 GB, free: 5.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002783/0.3118, allocations: 276.3 kB / 0.5407 GB, free: 5.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3118, allocations: 4 kB / 0.5407 GB, free: 5.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.3122, allocations: 51.55 kB / 0.5407 GB, free: 5.492 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001827/0.314, allocations: 1.358 MB / 0.5421 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3144, allocations: 158.6 kB / 0.5422 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3144, allocations: 1.094 kB / 0.5422 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3146, allocations: 86.62 kB / 0.5423 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3151, allocations: 59.02 kB / 0.5424 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.3185, allocations: 2.714 MB / 0.545 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3188, allocations: 0.763 MB / 0.5458 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.319, allocations: 45.56 kB / 0.5458 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3191, allocations: 85.22 kB / 0.5459 GB, free: 1.438 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3191, allocations: 1.75 kB / 0.5459 GB, free: 1.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3437, allocations: 6.087 MB / 0.5518 GB, free: 11.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.169, allocations: 8.281 kB / 0.5518 GB, free: 11.73 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_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_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches