Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001619/0.001619, allocations: 122.8 kB / 17.78 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.001906/0.001907, allocations: 198 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.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4911, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.005144/0.4963, allocations: 1.674 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4979, allocations: 0.55 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.498, allocations: 1.281 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.4984, allocations: 77.16 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.499, allocations: 105.8 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.4996, allocations: 129.8 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.5, allocations: 85.28 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.5002, allocations: 24.98 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.5003, allocations: 48.45 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.5005, allocations: 51.69 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.5005, allocations: 4.125 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.5008, allocations: 49.2 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.5009, allocations: 24.14 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.501, allocations: 39.2 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.5014, allocations: 128.2 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5014, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5014, allocations: 0 / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.5014, allocations: 0 / 0.5339 GB, free: 11.41 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.0008053/0.5023, allocations: 424.4 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.5023, allocations: 9.188 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.5024, allocations: 14.45 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.5028, allocations: 204.3 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5028, allocations: 5.875 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.5029, allocations: 11.5 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.5031, allocations: 66.83 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5031, allocations: 1.25 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5031, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5032, allocations: 1.219 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5033, allocations: 43.39 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.5039, allocations: 318.9 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.5042, allocations: 55.3 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.5043, allocations: 23.97 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5043, allocations: 1.375 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.5044, allocations: 31.94 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.376e-06/0.5044, allocations: 4 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001516/0.5059, allocations: 397.8 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.506, allocations: 57.28 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.5063, allocations: 205.1 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5063, allocations: 30.77 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5064, allocations: 109.5 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.5065, allocations: 39.97 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.5065, allocations: 21.19 kB / 0.5359 GB, free: 9.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5067, allocations: 335.2 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.5068, allocations: 39.62 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.507, allocations: 44.31 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.5072, allocations: 100.5 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5073, allocations: 0 / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003812/0.5077, allocations: 154.4 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.5077, allocations: 5.656 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5077, allocations: 0 / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5077, allocations: 5.281 kB / 0.5366 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5079, allocations: 32.45 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.5079, allocations: 0 / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.508, allocations: 9.703 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.508, allocations: 3.25 kB / 0.5366 GB, free: 9.102 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.0002654/0.5083, allocations: 133.1 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.5083, allocations: 14.5 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.5088, allocations: 163.3 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5088, allocations: 9.062 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5088, allocations: 0 / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5088, allocations: 0.875 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.5097, allocations: 481.5 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5097, allocations: 0 / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5098, allocations: 32.97 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5098, allocations: 1.281 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5098, allocations: 2.344 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5098, allocations: 5 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5098, allocations: 1.062 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.5103, allocations: 255.7 kB / 0.5377 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.5103, allocations: 89.33 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5104, allocations: 1.281 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5105, allocations: 14 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.5105, allocations: 16.77 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5105, allocations: 8.312 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.5107, allocations: 162.2 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5107, allocations: 0 / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.511, allocations: 25.12 kB / 0.538 GB, free: 7.949 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.001119/0.5121, allocations: 462.9 kB / 0.5384 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.5125, allocations: 105.9 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5125, allocations: 0 / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.5127, allocations: 62.91 kB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5131, allocations: 30.42 kB / 0.5386 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.5138, allocations: 295.6 kB / 0.5389 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.5142, allocations: 0.718 MB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.421e-05/0.5143, allocations: 21.28 kB / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.5143, allocations: 14.91 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5144, allocations: 1.156 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Templates: time 0.00511/0.5195, allocations: 1.571 MB / 0.5412 GB, free: 5.859 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches