Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.6 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007232/0.0007235, allocations: 99.16 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.3094/0.3094, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003897, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3377, allocations: 62.95 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002755/0.3405, allocations: 1.361 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3417, allocations: 0.5174 MB / 0.5177 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.3418, allocations: 0 / 0.5177 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.3425, allocations: 449.3 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.3431, allocations: 264.3 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3436, allocations: 116.4 kB / 0.5185 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.3439, allocations: 147 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3441, allocations: 15.03 kB / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3443, allocations: 109.1 kB / 0.5188 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3446, allocations: 173.9 kB / 0.5189 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.3446, allocations: 0 / 0.5189 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3448, allocations: 41.47 kB / 0.519 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3449, allocations: 87.86 kB / 0.519 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.345, allocations: 125 kB / 0.5192 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.3454, allocations: 194.8 kB / 0.5194 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3454, allocations: 4 kB / 0.5194 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3454, allocations: 0 / 0.5194 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3454, allocations: 2.969 kB / 0.5194 GB, free: 35.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008309/0.3463, allocations: 0.6008 MB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3463, allocations: 9.438 kB / 0.52 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.3464, allocations: 41.69 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3467, allocations: 299.8 kB / 0.5203 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3468, allocations: 7 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3468, allocations: 7.031 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.347, allocations: 71.92 kB / 0.5204 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.347, allocations: 2.875 kB / 0.5204 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3471, allocations: 0 / 0.5204 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3471, allocations: 0 / 0.5204 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3473, allocations: 50.06 kB / 0.5204 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3478, allocations: 398 kB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3481, allocations: 62.55 kB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.3482, allocations: 30.59 kB / 0.5209 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3483, allocations: 0 / 0.5209 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3483, allocations: 34.59 kB / 0.5209 GB, free: 34.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.445e-06/0.3483, allocations: 3.984 kB / 0.5209 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001464/0.3498, allocations: 0.5372 MB / 0.5214 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3498, allocations: 58.19 kB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.3506, allocations: 0.8629 MB / 0.5223 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3506, allocations: 28.64 kB / 0.5224 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3507, allocations: 212.8 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3507, allocations: 37.98 kB / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.3508, allocations: 2.688 kB / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.3508, allocations: 364.4 kB / 0.523 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.351, allocations: 51.69 kB / 0.523 GB, free: 32.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3511, allocations: 49.48 kB / 0.5231 GB, free: 32.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3513, allocations: 120.3 kB / 0.5232 GB, free: 32.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3513, allocations: 0 / 0.5232 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000327/0.3517, allocations: 191.9 kB / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3517, allocations: 9.219 kB / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3517, allocations: 0 / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3517, allocations: 2.812 kB / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3518, allocations: 29.11 kB / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3519, allocations: 10.16 kB / 0.5234 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.3519, allocations: 11.84 kB / 0.5234 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3519, allocations: 7.891 kB / 0.5234 GB, free: 32.7 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 (11): * Single equations (assignments): 11 * 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 0.0001525/0.3521, allocations: 217.7 kB / 0.5236 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.3522, allocations: 44.41 kB / 0.5237 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.3525, allocations: 216 kB / 0.5239 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3525, allocations: 6.656 kB / 0.5239 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3526, allocations: 0 / 0.5239 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3526, allocations: 0 / 0.5239 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.3532, allocations: 0.5849 MB / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3532, allocations: 0 / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.3533, allocations: 32.27 kB / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3533, allocations: 2.5 kB / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3533, allocations: 3.703 kB / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3533, allocations: 2.75 kB / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3534, allocations: 0 / 0.5245 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3537, allocations: 306.5 kB / 0.5248 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3538, allocations: 114.5 kB / 0.5249 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3538, allocations: 6.594 kB / 0.5249 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3539, allocations: 12.86 kB / 0.5249 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.354, allocations: 15.17 kB / 0.5249 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.354, allocations: 4 kB / 0.5249 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006096/0.3546, allocations: 0.6574 MB / 0.5256 GB, free: 31.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3546, allocations: 0 / 0.5256 GB, free: 31.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.3549, allocations: 31.16 kB / 0.5256 GB, free: 31.42 MB / 378.7 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 (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.001087/0.356, allocations: 453.1 kB / 0.526 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3563, allocations: 127.5 kB / 0.5262 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3563, allocations: 0 / 0.5262 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3565, allocations: 69.64 kB / 0.5262 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.357, allocations: 30.19 kB / 0.5263 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3582, allocations: 0.9297 MB / 0.5272 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3585, allocations: 0.8211 MB / 0.528 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3586, allocations: 23.84 kB / 0.528 GB, free: 29.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3586, allocations: 0 / 0.528 GB, free: 29.94 MB / 378.7 MB Notification: Performance of Templates: time 0.007365/0.366, allocations: 4.007 MB / 0.5319 GB, free: 29.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches