Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.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.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_cpp_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_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00092/0.00092, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007968/0.0007968, allocations: 97.36 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1775/0.1775, allocations: 44.84 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 15.98 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09217, allocations: 62.96 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001771/0.09398, allocations: 1.351 MB / 0.5166 GB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.09475, allocations: 0.4953 MB / 0.5171 GB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.09479, allocations: 4 kB / 0.5171 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.09501, allocations: 75.78 kB / 0.5172 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.09521, allocations: 79.78 kB / 0.5173 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.09549, allocations: 114 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09561, allocations: 71.77 kB / 0.5175 GB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.09569, allocations: 20.22 kB / 0.5175 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.09576, allocations: 31.84 kB / 0.5175 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.09584, allocations: 43.83 kB / 0.5176 GB, free: 496 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.09586, allocations: 0 / 0.5176 GB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.09595, allocations: 47.97 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.09601, allocations: 23.86 kB / 0.5176 GB, free: 424 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.09604, allocations: 37.64 kB / 0.5177 GB, free: 380 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.09617, allocations: 83.81 kB / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.09618, allocations: 3.984 kB / 0.5177 GB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09619, allocations: 4 kB / 0.5177 GB, free: 288 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.09619, allocations: 0 / 0.5177 GB, free: 288 kB / 346.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.2092/0.3054, allocations: 402.8 kB / 0.5181 GB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3055, allocations: 9.094 kB / 0.5181 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3055, allocations: 13.81 kB / 0.5181 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3057, allocations: 199.2 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3057, allocations: 3.094 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3058, allocations: 7.375 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.306, allocations: 63.72 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.306, allocations: 4.984 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.306, allocations: 2.25 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.306, allocations: 0.6562 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3062, allocations: 49.33 kB / 0.5185 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3066, allocations: 314.2 kB / 0.5188 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.3068, allocations: 60.67 kB / 0.5188 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.3069, allocations: 28.45 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3069, allocations: 5.438 kB / 0.5189 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3069, allocations: 32.73 kB / 0.5189 GB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3069, allocations: 0 / 0.5189 GB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001527/0.3085, allocations: 473.7 kB / 0.5193 GB, free: 11.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.3085, allocations: 53.17 kB / 0.5194 GB, free: 11.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3087, allocations: 212.2 kB / 0.5196 GB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3087, allocations: 28.83 kB / 0.5196 GB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.3088, allocations: 103.6 kB / 0.5197 GB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3088, allocations: 44.84 kB / 0.5198 GB, free: 10.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.3088, allocations: 2.188 kB / 0.5198 GB, free: 10.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.3089, allocations: 324.8 kB / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.309, allocations: 48.16 kB / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3092, allocations: 53.38 kB / 0.5202 GB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3093, allocations: 57.55 kB / 0.5202 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3093, allocations: 0 / 0.5202 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003101/0.3096, allocations: 159.7 kB / 0.5204 GB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3096, allocations: 6.156 kB / 0.5204 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3097, allocations: 3.938 kB / 0.5204 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3097, allocations: 9.844 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3098, allocations: 30.83 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3098, allocations: 1.594 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.3099, allocations: 14.12 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3099, allocations: 5.234 kB / 0.5204 GB, free: 10.48 MB / 346.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 8.173e-05/0.31, allocations: 130.8 kB / 0.5206 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.31, allocations: 13.97 kB / 0.5206 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.3104, allocations: 184.1 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3104, allocations: 1.75 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3105, allocations: 4.922 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3105, allocations: 0.6562 kB / 0.5208 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.3111, allocations: 495.2 kB / 0.5212 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3111, allocations: 5.469 kB / 0.5212 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3112, allocations: 33 kB / 0.5213 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3112, allocations: 5.75 kB / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3112, allocations: 4.188 kB / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3112, allocations: 1.625 kB / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3112, allocations: 0.75 kB / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3115, allocations: 268.8 kB / 0.5215 GB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.3116, allocations: 91.59 kB / 0.5216 GB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3116, allocations: 8.047 kB / 0.5216 GB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.3117, allocations: 18.59 kB / 0.5217 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3118, allocations: 10.02 kB / 0.5217 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3118, allocations: 4.156 kB / 0.5217 GB, free: 9.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3119, allocations: 159.1 kB / 0.5218 GB, free: 9.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3119, allocations: 0 / 0.5218 GB, free: 9.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.3121, allocations: 27.61 kB / 0.5218 GB, free: 9.621 MB / 346.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.0008428/0.313, allocations: 460 kB / 0.5223 GB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3133, allocations: 123.3 kB / 0.5224 GB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3133, allocations: 3.938 kB / 0.5224 GB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.3135, allocations: 67.95 kB / 0.5225 GB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3138, allocations: 19.8 kB / 0.5225 GB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.3143, allocations: 339.6 kB / 0.5228 GB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.3145, allocations: 0.7085 MB / 0.5235 GB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.3146, allocations: 15.94 kB / 0.5235 GB, free: 8.406 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3146, allocations: 1.188 kB / 0.5235 GB, free: 8.406 MB / 346.7 MB Notification: Performance of Templates: time 0.004015/0.3186, allocations: 1.95 MB / 0.5254 GB, free: 8.188 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches