Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002042/0.002042, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002325/0.002325, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4033, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00345/0.4068, allocations: 1.671 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4079, allocations: 0.551 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.408, allocations: 2.281 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.4086, allocations: 451.6 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.4091, allocations: 296.2 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.4096, allocations: 135.1 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.4099, allocations: 176.6 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.41, allocations: 20.81 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.4101, allocations: 114.3 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.4104, allocations: 218.6 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4104, allocations: 3.125 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4106, allocations: 49.48 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.4107, allocations: 85.39 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.4108, allocations: 103.5 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.4112, allocations: 274.3 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4112, allocations: 1.094 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4112, allocations: 0 / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4113, allocations: 0 / 0.535 GB, free: 10.9 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.0008427/0.4121, allocations: 0.6586 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4122, allocations: 13.97 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.4122, allocations: 46.91 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.4125, allocations: 302.9 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4126, allocations: 2.469 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4126, allocations: 6.5 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4128, allocations: 64.92 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4128, allocations: 0 / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4128, allocations: 1.125 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4128, allocations: 1.062 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.413, allocations: 36 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.4136, allocations: 398.6 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4137, allocations: 39.56 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.4138, allocations: 21.06 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4138, allocations: 96 / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4138, allocations: 43.47 kB / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4138, allocations: 0 / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000957/0.4148, allocations: 313.1 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4149, allocations: 60.59 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.4158, allocations: 0.864 MB / 0.5378 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4158, allocations: 30.77 kB / 0.5378 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.416, allocations: 221.6 kB / 0.5381 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.4161, allocations: 26.86 kB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.4161, allocations: 19.47 kB / 0.5381 GB, free: 8.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4163, allocations: 364.8 kB / 0.5385 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.4164, allocations: 21.42 kB / 0.5385 GB, free: 8.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.4165, allocations: 30.92 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4166, allocations: 61.39 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4167, allocations: 7.938 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002491/0.4169, allocations: 138.1 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4169, allocations: 5.625 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4169, allocations: 0 / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.417, allocations: 5.188 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4171, allocations: 17.55 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4171, allocations: 5.562 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.4172, allocations: 3.219 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4172, allocations: 2.344 kB / 0.5387 GB, free: 7.965 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 (8): * Single equations (assignments): 8 * 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.0002101/0.4174, allocations: 217.6 kB / 0.5389 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.4175, allocations: 47.23 kB / 0.539 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.4179, allocations: 168.3 kB / 0.5392 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4179, allocations: 1.375 kB / 0.5392 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4179, allocations: 3.938 kB / 0.5392 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4179, allocations: 5.391 kB / 0.5392 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.4187, allocations: 0.4942 MB / 0.5396 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4187, allocations: 3.938 kB / 0.5396 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.4188, allocations: 22.02 kB / 0.5397 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4188, allocations: 1.062 kB / 0.5397 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4189, allocations: 6.125 kB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4189, allocations: 5.031 kB / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4189, allocations: 0 / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.4192, allocations: 247.4 kB / 0.5399 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.4193, allocations: 114.2 kB / 0.54 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4193, allocations: 1.312 kB / 0.54 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.4194, allocations: 7.266 kB / 0.54 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.4194, allocations: 7.562 kB / 0.54 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4194, allocations: 3.156 kB / 0.54 GB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000801/0.4202, allocations: 0.6527 MB / 0.5407 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4203, allocations: 0 / 0.5407 GB, free: 6.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.4206, allocations: 25.88 kB / 0.5407 GB, free: 6.562 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 (8): * Single equations (assignments): 8 * 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.001244/0.4218, allocations: 457.6 kB / 0.5411 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4221, allocations: 67.33 kB / 0.5412 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4221, allocations: 0 / 0.5412 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.4222, allocations: 35.05 kB / 0.5412 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.4227, allocations: 38.86 kB / 0.5413 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4241, allocations: 0.8262 MB / 0.5421 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.4246, allocations: 0.8271 MB / 0.5429 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.4247, allocations: 19.78 kB / 0.5429 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.4247, allocations: 13.62 kB / 0.5429 GB, free: 5.027 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4247, allocations: 1.25 kB / 0.5429 GB, free: 5.027 MB / 398.1 MB Notification: Performance of Templates: time 0.006061/0.4308, allocations: 1.738 MB / 0.5446 GB, free: 3.586 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches