Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 75.89 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3976, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002784/0.4005, allocations: 1.66 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4021, allocations: 1.173 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.4021, allocations: 1.438 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.4023, allocations: 19.67 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.4027, allocations: 89.11 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.403, allocations: 130.2 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.4032, allocations: 76.72 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.4033, allocations: 15.84 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.4033, allocations: 34.06 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.4035, allocations: 35.41 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.4035, allocations: 5.562 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.4037, allocations: 104.4 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.4038, allocations: 17.56 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.4038, allocations: 28.44 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4041, allocations: 153 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4041, allocations: 0 / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4041, allocations: 0 / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4041, allocations: 1.125 kB / 0.5345 GB, free: 10.96 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.0005024/0.4046, allocations: 414.9 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4047, allocations: 10.03 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.4047, allocations: 8.953 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4049, allocations: 194.5 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4049, allocations: 1.406 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4049, allocations: 10.66 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4051, allocations: 77.58 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4051, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4052, allocations: 1.562 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4052, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4053, allocations: 37.25 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.4057, allocations: 302.8 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4058, allocations: 39.06 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.4059, allocations: 31.88 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.4059, allocations: 1.375 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4059, allocations: 35.88 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4059, allocations: 4 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007291/0.4067, allocations: 210.9 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4067, allocations: 78.48 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4069, allocations: 150 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4069, allocations: 25.7 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.407, allocations: 95.22 kB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.407, allocations: 26.84 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.407, allocations: 20.03 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.4071, allocations: 320.1 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4073, allocations: 31.34 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.4074, allocations: 54.28 kB / 0.5365 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.4077, allocations: 76.64 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4077, allocations: 0 / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002813/0.408, allocations: 119 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.408, allocations: 7.312 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.408, allocations: 1.062 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.408, allocations: 0 / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4081, allocations: 19.17 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4082, allocations: 1.094 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.4082, allocations: 14.14 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4082, allocations: 5.234 kB / 0.5368 GB, free: 8.781 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.2e-05/0.4083, allocations: 118.8 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.4084, allocations: 8.516 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4087, allocations: 127.1 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4087, allocations: 1.219 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4087, allocations: 0 / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4087, allocations: 9.062 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.4093, allocations: 395.3 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4093, allocations: 0 / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.4094, allocations: 22.48 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4094, allocations: 1.188 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4094, allocations: 5.219 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4094, allocations: 4 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4094, allocations: 0.9375 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.4098, allocations: 218.5 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.4098, allocations: 83.38 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.4098, allocations: 3.938 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.4099, allocations: 14.7 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.41, allocations: 2.531 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.41, allocations: 14.36 kB / 0.5378 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.4101, allocations: 109.9 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4101, allocations: 0 / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.4104, allocations: 41.98 kB / 0.5379 GB, free: 7.762 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.001138/0.4116, allocations: 488.5 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.4119, allocations: 82.98 kB / 0.5384 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4119, allocations: 4 kB / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.412, allocations: 45.64 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.0003427/0.4124, allocations: 21.56 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.0004904/0.4129, allocations: 211.8 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4132, allocations: 0.7001 MB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.657e-05/0.4133, allocations: 16.28 kB / 0.5394 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.4134, allocations: 14.78 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4134, allocations: 0 / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.004763/0.4181, allocations: 1.9 MB / 0.5413 GB, free: 5.555 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches