Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 200.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.6 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007859/0.000786, allocations: 95.52 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3325, allocations: 62.96 MB / 0.5159 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001557/0.3341, allocations: 1.383 MB / 0.5172 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.3349, allocations: 0.5252 MB / 0.5177 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.3349, allocations: 0 / 0.5177 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.335, allocations: 23.73 kB / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3352, allocations: 62.11 kB / 0.5178 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3355, allocations: 124.8 kB / 0.5179 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.3356, allocations: 77.12 kB / 0.518 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.3357, allocations: 12.7 kB / 0.518 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.3358, allocations: 39.22 kB / 0.5181 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.3358, allocations: 30.56 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3358, allocations: 2.969 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.336, allocations: 97.72 kB / 0.5182 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.336, allocations: 16.92 kB / 0.5182 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.336, allocations: 57.47 kB / 0.5183 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3362, allocations: 117.8 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3362, allocations: 0 / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3362, allocations: 0 / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3362, allocations: 0 / 0.5184 GB, free: 35.33 MB / 378.7 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.0004664/0.3367, allocations: 428.9 kB / 0.5188 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.3367, allocations: 12.62 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.3368, allocations: 10.38 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3369, allocations: 213.2 kB / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3369, allocations: 384 / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.337, allocations: 6.75 kB / 0.519 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3372, allocations: 106.4 kB / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3372, allocations: 6.609 kB / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3373, allocations: 0 / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-06/0.3373, allocations: 0 / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3375, allocations: 89.75 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3379, allocations: 313.4 kB / 0.5195 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3381, allocations: 85.16 kB / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3383, allocations: 48.83 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3383, allocations: 10.28 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3383, allocations: 34.56 kB / 0.5197 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.3383, allocations: 0 / 0.5197 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001468/0.3398, allocations: 468.9 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3398, allocations: 86.67 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.34, allocations: 164.5 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.34, allocations: 25.7 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.3401, allocations: 103.3 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3401, allocations: 32.56 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.3401, allocations: 0 / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.3402, allocations: 321.2 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.3405, allocations: 87.39 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3407, allocations: 108.5 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.3412, allocations: 197.5 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3412, allocations: 0 / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005426/0.3418, allocations: 231.6 kB / 0.5214 GB, free: 33.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3418, allocations: 5.938 kB / 0.5214 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3418, allocations: 3.938 kB / 0.5214 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3418, allocations: 0 / 0.5214 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.342, allocations: 61.39 kB / 0.5215 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3421, allocations: 0 / 0.5215 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3422, allocations: 34.8 kB / 0.5215 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3422, allocations: 2.938 kB / 0.5215 GB, free: 33.22 MB / 378.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.3423, allocations: 123.1 kB / 0.5216 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.3423, allocations: 13.44 kB / 0.5217 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.3429, allocations: 246 kB / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3429, allocations: 3 kB / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3429, allocations: 0 / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3429, allocations: 384 / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.3437, allocations: 0.5361 MB / 0.5224 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3437, allocations: 4 kB / 0.5224 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3439, allocations: 49.14 kB / 0.5225 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3439, allocations: 2.594 kB / 0.5225 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3439, allocations: 4 kB / 0.5225 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3439, allocations: 4 kB / 0.5225 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3439, allocations: 0 / 0.5225 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.3445, allocations: 333.4 kB / 0.5228 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.3445, allocations: 91.27 kB / 0.5229 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3445, allocations: 2.844 kB / 0.5229 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3447, allocations: 35.47 kB / 0.5229 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3448, allocations: 12.59 kB / 0.5229 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3448, allocations: 2.5 kB / 0.5229 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.3449, allocations: 120 kB / 0.5231 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3449, allocations: 0 / 0.5231 GB, free: 32.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.3452, allocations: 57.16 kB / 0.5231 GB, free: 32.23 MB / 378.7 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009664/0.3462, allocations: 498.5 kB / 0.5236 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.3467, allocations: 204.3 kB / 0.5238 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3468, allocations: 4 kB / 0.5238 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.347, allocations: 106.7 kB / 0.5239 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3473, allocations: 15.89 kB / 0.5239 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.3477, allocations: 252.7 kB / 0.5241 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3479, allocations: 0.6942 MB / 0.5248 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.3479, allocations: 25.53 kB / 0.5248 GB, free: 31.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.348, allocations: 0 / 0.5248 GB, free: 31.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003699/0.3517, allocations: 2.479 MB / 0.5273 GB, free: 30.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches