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.001144/0.001145, allocations: 117.8 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.001306/0.001306, allocations: 199.8 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.445/1.445, 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.226/0.226, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4365, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003205/0.4397, allocations: 1.647 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.4408, allocations: 0.5573 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.4409, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.4412, allocations: 98.02 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.4415, allocations: 109.9 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.4419, allocations: 123.5 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.4421, allocations: 95.8 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4423, allocations: 33.77 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.4424, allocations: 42.67 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.4425, allocations: 65.88 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4425, allocations: 4.656 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4427, allocations: 47.64 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.4427, allocations: 29.8 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.4428, allocations: 52.41 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.443, allocations: 127.2 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.443, allocations: 1.156 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.443, allocations: 0 / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.443, allocations: 0 / 0.534 GB, free: 11.4 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.0005546/0.4436, allocations: 432.2 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4437, allocations: 13.47 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4437, allocations: 15.66 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4439, allocations: 211 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.444, allocations: 6.656 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.444, allocations: 12.39 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.4442, allocations: 75.83 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4442, allocations: 3.938 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4442, allocations: 1.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4443, allocations: 1.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.4444, allocations: 44.7 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.4449, allocations: 339.4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.445, allocations: 72.73 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.4451, allocations: 27.83 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4452, allocations: 1.375 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4452, allocations: 35.94 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4452, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001202/0.4464, allocations: 333.8 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4465, allocations: 57.41 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4467, allocations: 241.6 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.4468, allocations: 30.92 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.4468, allocations: 114.9 kB / 0.5359 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.4469, allocations: 36.44 kB / 0.536 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.447, allocations: 31.11 kB / 0.536 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4471, allocations: 327.6 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4472, allocations: 43.81 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.4473, allocations: 48.91 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.4476, allocations: 118.3 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4476, allocations: 3.938 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003003/0.4479, allocations: 155 kB / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4479, allocations: 8.219 kB / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4479, allocations: 0 / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.448, allocations: 4.938 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4481, allocations: 28.8 kB / 0.5367 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4481, allocations: 0.7812 kB / 0.5367 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.4482, allocations: 7.234 kB / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4482, allocations: 8 kB / 0.5367 GB, free: 9.027 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.0001199/0.4483, allocations: 131.5 kB / 0.5369 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4484, allocations: 14.94 kB / 0.5369 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.4488, allocations: 200.7 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4488, allocations: 2.438 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4489, allocations: 0 / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4489, allocations: 0 / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.4496, allocations: 0.4887 MB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4496, allocations: 4.922 kB / 0.5375 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4497, allocations: 29.27 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4497, allocations: 13.28 kB / 0.5376 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4498, allocations: 5.375 kB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4498, allocations: 1.219 kB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4498, allocations: 1.219 kB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4501, allocations: 246.2 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4502, allocations: 93 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.4502, allocations: 5.562 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.4503, allocations: 7.656 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.4503, allocations: 11.86 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4504, allocations: 7.969 kB / 0.538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.4505, allocations: 182.9 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4505, allocations: 0 / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.4508, allocations: 27.31 kB / 0.5382 GB, free: 7.863 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.001072/0.4519, allocations: 457.1 kB / 0.5386 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.4522, allocations: 113.2 kB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4522, allocations: 4 kB / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.4524, allocations: 68.48 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4528, allocations: 23.91 kB / 0.5388 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.4534, allocations: 330.4 kB / 0.5391 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4538, allocations: 0.7276 MB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.4538, allocations: 21.3 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.4539, allocations: 16.38 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4539, allocations: 0 / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Templates: time 0.004409/0.4583, allocations: 1.64 MB / 0.5414 GB, free: 5.73 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