Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, 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.2289/0.2289, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 71.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4005, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003302/0.4038, allocations: 1.644 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4049, allocations: 0.5508 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.405, allocations: 1.375 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.4057, allocations: 460.7 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.4062, allocations: 292 kB / 0.5339 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.4065, allocations: 126.1 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.4068, allocations: 171.2 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4069, allocations: 14.88 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4071, allocations: 110.9 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.4073, allocations: 209.4 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.4073, allocations: 3.281 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.4075, allocations: 37.42 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4076, allocations: 90.02 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.4077, allocations: 99.09 kB / 0.5347 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.408, allocations: 265.5 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4081, allocations: 0 / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4081, allocations: 0 / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4081, allocations: 0.9375 kB / 0.535 GB, free: 10.94 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.0008023/0.4089, allocations: 0.653 MB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4089, allocations: 9.062 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.409, allocations: 42.72 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.4093, allocations: 299 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4093, allocations: 9.125 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.4094, allocations: 6.781 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4095, allocations: 54.3 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4095, allocations: 1.031 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4095, allocations: 4 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.4096, allocations: 0.9375 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.4097, allocations: 26.95 kB / 0.536 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.4102, allocations: 390 kB / 0.5364 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4104, allocations: 44.2 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.4105, allocations: 18.86 kB / 0.5365 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4105, allocations: 1.25 kB / 0.5365 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.4105, allocations: 31.66 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.4105, allocations: 0 / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007016/0.4112, allocations: 240.5 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4113, allocations: 55.41 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4124, allocations: 0.8651 MB / 0.5376 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4124, allocations: 29.7 kB / 0.5376 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4126, allocations: 221.6 kB / 0.5379 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4127, allocations: 18.19 kB / 0.5379 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4127, allocations: 25.86 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4129, allocations: 359.8 kB / 0.5382 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.413, allocations: 18.83 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.4131, allocations: 18.92 kB / 0.5383 GB, free: 8.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4132, allocations: 45.27 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4132, allocations: 0 / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002354/0.4135, allocations: 128.6 kB / 0.5384 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4135, allocations: 4.062 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4135, allocations: 5.328 kB / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4136, allocations: 0 / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.4136, allocations: 9.844 kB / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4136, allocations: 0 / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.4137, allocations: 12.27 kB / 0.5385 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4137, allocations: 1.062 kB / 0.5385 GB, free: 8.09 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 (5): * Single equations (assignments): 5 * 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.0002113/0.4139, allocations: 213.9 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.414, allocations: 41.94 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.4143, allocations: 135.2 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4143, allocations: 5.359 kB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4143, allocations: 0 / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4143, allocations: 5.5 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.4149, allocations: 462.9 kB / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4149, allocations: 64 / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.4149, allocations: 12.72 kB / 0.5393 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.415, allocations: 9.344 kB / 0.5393 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.415, allocations: 3.938 kB / 0.5393 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.415, allocations: 1.469 kB / 0.5393 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.415, allocations: 3.984 kB / 0.5393 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4152, allocations: 210.9 kB / 0.5395 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.4153, allocations: 114.8 kB / 0.5396 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4154, allocations: 3.938 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.4155, allocations: 7.234 kB / 0.5397 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.4155, allocations: 10.16 kB / 0.5397 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.4155, allocations: 1.188 kB / 0.5397 GB, free: 7.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000705/0.4162, allocations: 0.6538 MB / 0.5403 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 0.5403 GB, free: 6.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4165, allocations: 30.22 kB / 0.5403 GB, free: 6.754 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 (5): * Single equations (assignments): 5 * 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.0009738/0.4175, allocations: 397 kB / 0.5407 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.4177, allocations: 47.53 kB / 0.5408 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4177, allocations: 0 / 0.5408 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.4178, allocations: 24.58 kB / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.4182, allocations: 29.3 kB / 0.5408 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4194, allocations: 0.8001 MB / 0.5416 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.4199, allocations: 0.8235 MB / 0.5424 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.4199, allocations: 13.73 kB / 0.5424 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.42, allocations: 17.08 kB / 0.5424 GB, free: 5.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.42, allocations: 0 / 0.5424 GB, free: 5.293 MB / 398.1 MB Notification: Performance of Templates: time 0.005136/0.4251, allocations: 1.49 MB / 0.5439 GB, free: 4.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches