Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3793, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003156/0.3825, allocations: 1.662 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3843, allocations: 1.165 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.3844, allocations: 1.375 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.3846, allocations: 27.91 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.3849, allocations: 77.75 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3853, allocations: 145.4 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3854, allocations: 72.64 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3855, allocations: 24.22 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.3856, allocations: 26.86 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3858, allocations: 44.2 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3858, allocations: 4.125 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.386, allocations: 104.1 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.386, allocations: 13.48 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3861, allocations: 25.31 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3863, allocations: 147.9 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3864, allocations: 7.922 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3864, allocations: 1.156 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3864, allocations: 0 / 0.5345 GB, free: 10.93 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.0005516/0.3869, allocations: 413.7 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.387, allocations: 9.875 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.387, allocations: 8.469 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3873, allocations: 194.2 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3873, allocations: 1.906 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3873, allocations: 6.938 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3875, allocations: 73.3 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3875, allocations: 3.938 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3875, allocations: 9.344 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3876, allocations: 0.9375 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3877, allocations: 32.47 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3881, allocations: 291.4 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3882, allocations: 50.97 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.3883, allocations: 27.75 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3883, allocations: 1.125 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3884, allocations: 31.62 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3884, allocations: 0 / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008095/0.3892, allocations: 220.1 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3892, allocations: 78.23 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3894, allocations: 145.2 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3894, allocations: 25.7 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3895, allocations: 91.98 kB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3895, allocations: 26.02 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3896, allocations: 23.47 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3897, allocations: 317.1 kB / 0.5364 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.3898, allocations: 34.28 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3899, allocations: 43.5 kB / 0.5365 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.3902, allocations: 79.98 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3902, allocations: 1.562 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002765/0.3904, allocations: 122.5 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3905, allocations: 6.469 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3905, allocations: 1.344 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3905, allocations: 0 / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3906, allocations: 23.55 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3907, allocations: 0 / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.3907, allocations: 13.77 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3907, allocations: 2.156 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.521e-05/0.3908, allocations: 115.2 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3909, allocations: 7.969 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.3912, allocations: 130.9 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3912, allocations: 5.391 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3912, allocations: 3.938 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3913, allocations: 9.156 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.3918, allocations: 395.5 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3918, allocations: 0 / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.3919, allocations: 23.33 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3919, allocations: 0 / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3919, allocations: 9.156 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3919, allocations: 0.9688 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3919, allocations: 0 / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3923, allocations: 218.5 kB / 0.5376 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3924, allocations: 79.33 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3924, allocations: 5.031 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.3925, allocations: 9.484 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3925, allocations: 11.16 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3926, allocations: 5.078 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.3927, allocations: 114.4 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3927, allocations: 0 / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000307/0.393, allocations: 43.33 kB / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001134/0.3941, allocations: 489.4 kB / 0.5384 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3944, allocations: 74.44 kB / 0.5384 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3944, allocations: 1.094 kB / 0.5384 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3946, allocations: 48.89 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3949, allocations: 18.39 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.3955, allocations: 206.7 kB / 0.5387 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3958, allocations: 0.6966 MB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.3959, allocations: 15.11 kB / 0.5394 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.396, allocations: 23.3 kB / 0.5394 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.396, allocations: 0 / 0.5394 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.006422/0.4024, allocations: 1.893 MB / 0.5413 GB, free: 5.566 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches