Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 80.09 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4036, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003358/0.407, allocations: 1.685 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.4082, allocations: 0.5757 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.4082, allocations: 1.344 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.4086, allocations: 59.17 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.4089, allocations: 106.7 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.4093, allocations: 182 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.4095, allocations: 90.23 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4097, allocations: 23.23 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.4097, allocations: 38.95 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4098, allocations: 47.22 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4099, allocations: 4.125 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.41, allocations: 60.89 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.4101, allocations: 24.17 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.4101, allocations: 30.62 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.4103, allocations: 119.4 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4103, allocations: 0 / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4103, allocations: 0 / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4104, allocations: 1.375 kB / 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005615/0.4109, allocations: 412.3 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.411, allocations: 9.625 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.411, allocations: 16.86 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4112, allocations: 204.4 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4113, allocations: 5.75 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.4113, allocations: 11.06 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4115, allocations: 65.05 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4115, allocations: 1.375 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4115, allocations: 4 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4115, allocations: 1.375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4117, allocations: 40.7 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.4122, allocations: 327.8 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4125, allocations: 56.45 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.4126, allocations: 26.06 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4126, allocations: 1.188 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.4127, allocations: 43.69 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.4127, allocations: 0 / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.4142, allocations: 426.5 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4143, allocations: 56.41 kB / 0.5356 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4145, allocations: 183.6 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4145, allocations: 34.92 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4146, allocations: 108.6 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.4146, allocations: 35.98 kB / 0.536 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4147, allocations: 26.88 kB / 0.536 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4148, allocations: 322.3 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.415, allocations: 52.39 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4151, allocations: 61.14 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.4154, allocations: 127.7 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4154, allocations: 0 / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003787/0.4158, allocations: 161.1 kB / 0.5367 GB, free: 9.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4159, allocations: 5.719 kB / 0.5367 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4159, allocations: 7.984 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4159, allocations: 1.469 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.416, allocations: 31.89 kB / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4161, allocations: 0 / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.4161, allocations: 10.2 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4161, allocations: 6.672 kB / 0.5367 GB, free: 9.039 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 (11): * Single equations (assignments): 11 * 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.0001036/0.4163, allocations: 132.9 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.4163, allocations: 17.38 kB / 0.5369 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.4168, allocations: 187.1 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4168, allocations: 3.938 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4168, allocations: 1.594 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4168, allocations: 3.984 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.4177, allocations: 0.4932 MB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4177, allocations: 1.094 kB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4178, allocations: 32.36 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4178, allocations: 1.062 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4178, allocations: 6.047 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4178, allocations: 0.8438 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4178, allocations: 1.188 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.4182, allocations: 285.8 kB / 0.5379 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.4183, allocations: 84.48 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.4183, allocations: 5.062 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.4184, allocations: 14.92 kB / 0.538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4185, allocations: 12.42 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4185, allocations: 3.531 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.4187, allocations: 148.2 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4187, allocations: 0 / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.4191, allocations: 27.42 kB / 0.5381 GB, free: 7.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001439/0.4205, allocations: 462 kB / 0.5386 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.421, allocations: 128 kB / 0.5387 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.421, allocations: 4 kB / 0.5387 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.4212, allocations: 71.92 kB / 0.5388 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4216, allocations: 19.53 kB / 0.5388 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.4224, allocations: 319.7 kB / 0.5391 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4227, allocations: 0.7207 MB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.4228, allocations: 26.91 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4229, allocations: 22.44 kB / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4229, allocations: 0 / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of Templates: time 0.004781/0.4277, allocations: 1.63 MB / 0.5414 GB, free: 5.719 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches