Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, 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.463/1.463, allocations: 227.4 MB / 247 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.2317/0.2317, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.002151, allocations: 83.86 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00348/0.3751, allocations: 1.751 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.377, allocations: 1.025 MB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3771, allocations: 5.062 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.3774, allocations: 55.66 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3778, allocations: 96.78 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.3781, allocations: 79.25 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3783, allocations: 124.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3784, allocations: 23.44 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3785, allocations: 54.03 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3786, allocations: 49.8 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3787, allocations: 5.906 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3788, allocations: 60.45 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.3789, allocations: 36.48 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.3789, allocations: 38.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3792, allocations: 142.8 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3792, allocations: 9.312 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3792, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3792, allocations: 0 / 0.5342 GB, free: 10.69 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006415/0.3799, allocations: 450.2 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3799, allocations: 9.625 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.38, allocations: 41.44 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.38, allocations: 14.34 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.3804, allocations: 223.4 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3804, allocations: 11.09 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3805, allocations: 10.69 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3806, allocations: 74.22 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3807, allocations: 5.375 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.3807, allocations: 0 / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3807, allocations: 1.375 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3808, allocations: 39.34 kB / 0.535 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.3813, allocations: 323.1 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3816, allocations: 81.03 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.3817, allocations: 35.97 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3817, allocations: 5.375 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3819, allocations: 80.03 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3819, allocations: 0 / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008637/0.3827, allocations: 301.2 kB / 0.5358 GB, free: 9.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3828, allocations: 61.78 kB / 0.5359 GB, free: 9.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.383, allocations: 195.2 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3831, allocations: 30.83 kB / 0.5361 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3831, allocations: 105.4 kB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.3832, allocations: 54.45 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3832, allocations: 28.59 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3834, allocations: 327.2 kB / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.945e-05/0.3835, allocations: 39.06 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.3836, allocations: 56.64 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3838, allocations: 94.27 kB / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3838, allocations: 0 / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002795/0.3841, allocations: 149.9 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3841, allocations: 5.656 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3841, allocations: 0 / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3841, allocations: 1.156 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.3842, allocations: 40.98 kB / 0.5369 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3843, allocations: 1.062 kB / 0.5369 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3843, allocations: 9.891 kB / 0.5369 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3843, allocations: 4.562 kB / 0.537 GB, free: 8.242 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 (15): * Single equations (assignments): 15 * 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.3845, allocations: 123.7 kB / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3845, allocations: 22.8 kB / 0.5371 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.3846, allocations: 16.91 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3846, allocations: 5.25 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3846, allocations: 4 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3846, allocations: 1.188 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.3852, allocations: 496.8 kB / 0.5376 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3852, allocations: 0 / 0.5376 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.3853, allocations: 23.52 kB / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3853, allocations: 0.9375 kB / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3853, allocations: 2.125 kB / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3853, allocations: 2.281 kB / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3854, allocations: 5.031 kB / 0.5376 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3857, allocations: 257 kB / 0.5379 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3857, allocations: 89.08 kB / 0.538 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3858, allocations: 6.656 kB / 0.538 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.3859, allocations: 10.47 kB / 0.538 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3859, allocations: 13.33 kB / 0.538 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3859, allocations: 4.688 kB / 0.538 GB, free: 7.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3861, allocations: 151.6 kB / 0.5381 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3861, allocations: 0 / 0.5381 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3864, allocations: 31.28 kB / 0.5382 GB, free: 7.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002424/0.3888, allocations: 1.206 MB / 0.5393 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.3891, allocations: 98.03 kB / 0.5394 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3891, allocations: 0 / 0.5394 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3892, allocations: 53.16 kB / 0.5395 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3896, allocations: 39.19 kB / 0.5395 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.392, allocations: 1.866 MB / 0.5413 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3924, allocations: 0.715 MB / 0.542 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.3925, allocations: 26.03 kB / 0.5421 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.3926, allocations: 51.03 kB / 0.5421 GB, free: 3.855 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3926, allocations: 5.719 kB / 0.5421 GB, free: 3.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.418, allocations: 4.047 MB / 0.5461 GB, free: 1.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.172, allocations: 0.8906 kB / 0.5461 GB, free: 1.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches