Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 79.81 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4495, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003617/0.4532, allocations: 1.655 MB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.4545, allocations: 0.5494 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.4546, allocations: 1.281 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.4549, allocations: 97.73 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.4553, allocations: 119.5 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.4557, allocations: 114.5 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.4559, allocations: 103.8 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.456, allocations: 33.72 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.4561, allocations: 41.72 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.4562, allocations: 58.06 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.4563, allocations: 5.5 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4564, allocations: 50.16 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.4565, allocations: 30.86 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.4565, allocations: 47.92 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.4568, allocations: 129.4 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4568, allocations: 4 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4568, allocations: 0 / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4568, allocations: 0 / 0.534 GB, free: 11.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007867/0.4576, allocations: 446.2 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4577, allocations: 9.625 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.4577, allocations: 15.44 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.4581, allocations: 206.6 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4581, allocations: 3.281 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.4582, allocations: 8.5 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4584, allocations: 79.94 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4584, allocations: 3.953 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4584, allocations: 1.125 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4584, allocations: 1.094 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.4586, allocations: 57.08 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.4592, allocations: 339.2 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.4594, allocations: 71.7 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.4595, allocations: 24.34 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4595, allocations: 1.375 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4595, allocations: 32.62 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4595, allocations: 0 / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001244/0.4608, allocations: 342.1 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4608, allocations: 53.78 kB / 0.5356 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4611, allocations: 246.8 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4612, allocations: 25.7 kB / 0.5359 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.4613, allocations: 115.4 kB / 0.536 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.4613, allocations: 44.67 kB / 0.536 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.4614, allocations: 27.08 kB / 0.536 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4616, allocations: 327.1 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4617, allocations: 43.66 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.4618, allocations: 44.66 kB / 0.5364 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.4621, allocations: 113.6 kB / 0.5365 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4621, allocations: 1.344 kB / 0.5365 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003026/0.4624, allocations: 159.3 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4624, allocations: 4.625 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4624, allocations: 0 / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4625, allocations: 5.25 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.4626, allocations: 33.33 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4626, allocations: 0 / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4627, allocations: 8.125 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4627, allocations: 11.27 kB / 0.5367 GB, free: 8.984 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 (13): * Single equations (assignments): 13 * 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.000138/0.4629, allocations: 132 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.4629, allocations: 14.25 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.4633, allocations: 197.3 kB / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4634, allocations: 1.094 kB / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4634, allocations: 0 / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4634, allocations: 1.094 kB / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.4642, allocations: 0.4961 MB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.4642, allocations: 1.156 kB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4644, allocations: 32.39 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.4644, allocations: 5.172 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4644, allocations: 2.156 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4644, allocations: 1.156 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4644, allocations: 1.156 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.4649, allocations: 257.6 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.4649, allocations: 93.69 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.465, allocations: 13.11 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.4651, allocations: 3.188 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4651, allocations: 12.86 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4651, allocations: 3.625 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.4653, allocations: 183 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4654, allocations: 3.938 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.4656, allocations: 28.06 kB / 0.5382 GB, free: 7.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001205/0.4669, allocations: 459.6 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.4672, allocations: 114.2 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4672, allocations: 0 / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4674, allocations: 68.92 kB / 0.5388 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4678, allocations: 21.23 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.4686, allocations: 336.8 kB / 0.5391 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.469, allocations: 0.7193 MB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4691, allocations: 29.75 kB / 0.5399 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.4692, allocations: 20.06 kB / 0.5399 GB, free: 6.508 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4692, allocations: 0 / 0.5399 GB, free: 6.508 MB / 398.1 MB Notification: Performance of Templates: time 0.0056/0.4748, allocations: 1.611 MB / 0.5415 GB, free: 5.699 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches