Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2622/0.2622, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 75.89 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4962, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003097/0.4993, allocations: 1.671 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.5011, allocations: 1.166 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.5011, allocations: 1.062 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.5014, allocations: 23.22 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.5017, allocations: 85.83 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.502, allocations: 141.3 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.5022, allocations: 77.81 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.5023, allocations: 10.75 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.5023, allocations: 31.08 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.5025, allocations: 39.33 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.5025, allocations: 5.031 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.5027, allocations: 104.6 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.5028, allocations: 16.61 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.5028, allocations: 29.48 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.5031, allocations: 147.9 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5031, allocations: 1.375 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5031, allocations: 3.938 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.5031, allocations: 0 / 0.5345 GB, free: 10.95 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.0004912/0.5036, allocations: 403.7 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5037, allocations: 9.625 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.5037, allocations: 9.016 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.5039, allocations: 204.4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.5039, allocations: 1.75 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.504, allocations: 3.125 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.5042, allocations: 77.33 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5042, allocations: 3.938 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5042, allocations: 1.375 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5042, allocations: 0 / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.5043, allocations: 40.59 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.5047, allocations: 292.1 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.5048, allocations: 47 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.5049, allocations: 27.94 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.5049, allocations: 4 kB / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.505, allocations: 31.94 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.505, allocations: 3.938 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007445/0.5057, allocations: 216.5 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.5058, allocations: 82.36 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.506, allocations: 141.7 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.506, allocations: 29.7 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.506, allocations: 95.81 kB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.5061, allocations: 22.28 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.5061, allocations: 19.34 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5062, allocations: 321.1 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5064, allocations: 38.72 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.5065, allocations: 47.31 kB / 0.5365 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.5067, allocations: 80.11 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5067, allocations: 0 / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.507, allocations: 114.9 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.507, allocations: 5.375 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.507, allocations: 48 / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.507, allocations: 5.047 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5072, allocations: 18.67 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5072, allocations: 0.9375 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.5073, allocations: 22.17 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5073, allocations: 1.719 kB / 0.5368 GB, free: 8.773 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.731e-05/0.5074, allocations: 114.2 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5074, allocations: 13.17 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.5077, allocations: 123 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5078, allocations: 0.9375 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5078, allocations: 4 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5078, allocations: 5 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.5083, allocations: 394.9 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5083, allocations: 5.062 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.5084, allocations: 18.2 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5084, allocations: 1.094 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5084, allocations: 9.156 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5084, allocations: 0 / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5084, allocations: 0 / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.5088, allocations: 215.1 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.5088, allocations: 82.94 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.5088, allocations: 8.781 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.5089, allocations: 13.83 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.509, allocations: 3.531 kB / 0.5378 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.509, allocations: 9.203 kB / 0.5378 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.711e-05/0.5091, allocations: 108.8 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5091, allocations: 0 / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.5094, allocations: 50.39 kB / 0.5379 GB, free: 7.758 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.001166/0.5106, allocations: 487.1 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.5109, allocations: 78.66 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.511, allocations: 0 / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.5111, allocations: 45.81 kB / 0.5385 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.5115, allocations: 14.94 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.5122, allocations: 211.7 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.5127, allocations: 0.6966 MB / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.117e-05/0.5128, allocations: 15.56 kB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.5129, allocations: 19.09 kB / 0.5394 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5129, allocations: 4 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.005477/0.5184, allocations: 1.902 MB / 0.5413 GB, free: 5.555 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches