Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 200.8 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 243.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008282/0.000828, allocations: 105.5 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3276, allocations: 62.95 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001553/0.3292, allocations: 1.39 MB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.3299, allocations: 0.5513 MB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.33, allocations: 3 kB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.3302, allocations: 20.33 kB / 0.5178 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3304, allocations: 70.3 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.3307, allocations: 162 kB / 0.518 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3309, allocations: 79 kB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.331, allocations: 27.19 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3311, allocations: 34.33 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.3311, allocations: 42.45 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3311, allocations: 2.906 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3313, allocations: 84.56 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.3313, allocations: 25.44 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.3314, allocations: 54.59 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3315, allocations: 122.3 kB / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3316, allocations: 0 / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3316, allocations: 0 / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.3316, allocations: 0 / 0.5185 GB, free: 35.6 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.0004921/0.3321, allocations: 436.4 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3321, allocations: 12.62 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.3322, allocations: 11.75 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.3323, allocations: 201.1 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3323, allocations: 7.344 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3324, allocations: 3.938 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3326, allocations: 106.4 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3327, allocations: 0 / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3327, allocations: 2.812 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3327, allocations: 0 / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.333, allocations: 95.17 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3335, allocations: 362.4 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3338, allocations: 94.86 kB / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3339, allocations: 61.47 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.334, allocations: 3.188 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.334, allocations: 34.34 kB / 0.5198 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.334, allocations: 0 / 0.5198 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001498/0.3355, allocations: 0.4907 MB / 0.5203 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3355, allocations: 83.73 kB / 0.5204 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3357, allocations: 169.5 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.3357, allocations: 25.7 kB / 0.5206 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.3357, allocations: 98.02 kB / 0.5207 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3358, allocations: 30.02 kB / 0.5207 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.3358, allocations: 0 / 0.5207 GB, free: 33.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.3358, allocations: 321.5 kB / 0.521 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.3361, allocations: 105 kB / 0.5211 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.3364, allocations: 123.8 kB / 0.5212 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.3369, allocations: 207.3 kB / 0.5214 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3369, allocations: 4 kB / 0.5214 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005803/0.3375, allocations: 247.2 kB / 0.5217 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3376, allocations: 13.12 kB / 0.5217 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3376, allocations: 0 / 0.5217 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3376, allocations: 3.938 kB / 0.5217 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3378, allocations: 54.45 kB / 0.5217 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3378, allocations: 3.938 kB / 0.5217 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.338, allocations: 41.23 kB / 0.5218 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.338, allocations: 2.969 kB / 0.5218 GB, free: 33.45 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 7.599e-05/0.3381, allocations: 122.9 kB / 0.5219 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.3381, allocations: 9.781 kB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.3388, allocations: 264 kB / 0.5222 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3388, allocations: 7.938 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3388, allocations: 2.938 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3388, allocations: 0 / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.3397, allocations: 0.5602 MB / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3397, allocations: 0 / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3399, allocations: 50.69 kB / 0.5228 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3399, allocations: 3.938 kB / 0.5228 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3399, allocations: 7.031 kB / 0.5228 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3399, allocations: 0 / 0.5228 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3399, allocations: 0 / 0.5228 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.3405, allocations: 347.4 kB / 0.5231 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.3405, allocations: 91.14 kB / 0.5232 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3406, allocations: 0 / 0.5232 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3408, allocations: 39.75 kB / 0.5232 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.3408, allocations: 10.36 kB / 0.5232 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.3408, allocations: 6.125 kB / 0.5232 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.3409, allocations: 116 kB / 0.5234 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 0 / 0.5234 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.3412, allocations: 51.44 kB / 0.5234 GB, free: 32.46 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.001/0.3422, allocations: 0.4884 MB / 0.5239 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.3429, allocations: 221.7 kB / 0.5241 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3429, allocations: 0 / 0.5241 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.3432, allocations: 113.6 kB / 0.5242 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3435, allocations: 19.25 kB / 0.5242 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.344, allocations: 282.5 kB / 0.5245 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3441, allocations: 0.7048 MB / 0.5252 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.3442, allocations: 23.42 kB / 0.5252 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3442, allocations: 0 / 0.5252 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003754/0.348, allocations: 2.591 MB / 0.5277 GB, free: 30.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches