Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002158, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 76.09 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2889, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002916/0.2919, allocations: 1.683 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2929, allocations: 0.558 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.293, allocations: 0 / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.2932, allocations: 45.92 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.2935, allocations: 102.3 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.2939, allocations: 130.6 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.294, allocations: 76.81 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.2941, allocations: 17.86 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.2942, allocations: 45.52 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.2943, allocations: 40.34 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2943, allocations: 4.125 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.2944, allocations: 52.97 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.2945, allocations: 18.8 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.2945, allocations: 34.61 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2947, allocations: 107.4 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2947, allocations: 1.375 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2947, allocations: 7.984 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2948, allocations: 0 / 0.5345 GB, free: 11.43 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.0004922/0.2953, allocations: 407 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.2953, allocations: 8.25 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.2953, allocations: 14.33 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2955, allocations: 197.3 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2955, allocations: 1.75 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2956, allocations: 6.688 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2957, allocations: 71.47 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2958, allocations: 1.375 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2958, allocations: 4 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2958, allocations: 1.375 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.2959, allocations: 35.34 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2963, allocations: 304.2 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2966, allocations: 59.3 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.2967, allocations: 23.97 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.2967, allocations: 5.312 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2967, allocations: 39.88 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.2967, allocations: 0 / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001441/0.2982, allocations: 396.8 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2982, allocations: 52.47 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2984, allocations: 173.7 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2984, allocations: 30.83 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2985, allocations: 108.7 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.2985, allocations: 32.17 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2986, allocations: 25.56 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2987, allocations: 321.2 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2988, allocations: 43.44 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.299, allocations: 44.33 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2992, allocations: 104.8 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2993, allocations: 0 / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003216/0.2996, allocations: 145.6 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2996, allocations: 5.188 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2996, allocations: 3.938 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2996, allocations: 1.094 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2998, allocations: 32.73 kB / 0.5371 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2998, allocations: 0 / 0.5371 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.2998, allocations: 13.86 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2999, allocations: 3.25 kB / 0.5371 GB, free: 9.176 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.000105/0.3, allocations: 130.9 kB / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3, allocations: 8.156 kB / 0.5373 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.3004, allocations: 173.7 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3004, allocations: 1.5 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3005, allocations: 0 / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3005, allocations: 1.469 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.3011, allocations: 473 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3011, allocations: 1 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3013, allocations: 29 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3013, allocations: 1.344 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3013, allocations: 6.484 kB / 0.5379 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3013, allocations: 5.375 kB / 0.5379 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3013, allocations: 0 / 0.5379 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.3017, allocations: 260 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3017, allocations: 87.52 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3017, allocations: 1.719 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3019, allocations: 18.67 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3019, allocations: 8.359 kB / 0.5383 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3019, allocations: 11.25 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.302, allocations: 133.2 kB / 0.5384 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.302, allocations: 0 / 0.5384 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3023, allocations: 26.14 kB / 0.5384 GB, free: 8.043 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.001035/0.3034, allocations: 462.2 kB / 0.5389 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.3037, allocations: 109.8 kB / 0.539 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3037, allocations: 1 kB / 0.539 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3039, allocations: 66.17 kB / 0.539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3043, allocations: 14.03 kB / 0.5391 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.3049, allocations: 289.1 kB / 0.5393 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3052, allocations: 0.7102 MB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3052, allocations: 19.5 kB / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3052, allocations: 0 / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Templates: time 0.003642/0.3089, allocations: 1.908 MB / 0.5419 GB, free: 5.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches