Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009653/0.0009654, allocations: 201.8 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.261/1.261, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000761/0.000761, allocations: 98.48 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002313, allocations: 4 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09704, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001728/0.09881, allocations: 1.323 MB / 0.5166 GB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.09961, allocations: 0.5108 MB / 0.5171 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.09967, allocations: 4 kB / 0.5171 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.09993, allocations: 79.81 kB / 0.5172 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1001, allocations: 95.7 kB / 0.5173 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1004, allocations: 102.4 kB / 0.5174 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1006, allocations: 83.8 kB / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1007, allocations: 23.97 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.1007, allocations: 35.84 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.1008, allocations: 47.83 kB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1008, allocations: 0 / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.1009, allocations: 47.97 kB / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.101, allocations: 31.8 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.101, allocations: 37.64 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1012, allocations: 95.84 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1012, allocations: 0 / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1012, allocations: 0 / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1012, allocations: 0 / 0.5178 GB, free: 232 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.1709/0.2721, allocations: 415.4 kB / 0.5182 GB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2721, allocations: 12.45 kB / 0.5182 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.2722, allocations: 14.28 kB / 0.5182 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.2724, allocations: 204.6 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.2724, allocations: 4.406 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.2724, allocations: 6.734 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2726, allocations: 70.69 kB / 0.5185 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2726, allocations: 2.328 kB / 0.5185 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2727, allocations: 4.75 kB / 0.5185 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2727, allocations: 1.625 kB / 0.5185 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.2728, allocations: 46.11 kB / 0.5185 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.2733, allocations: 350.3 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2734, allocations: 68.14 kB / 0.5189 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.2735, allocations: 28.84 kB / 0.5189 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2735, allocations: 5.578 kB / 0.519 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.2735, allocations: 32.84 kB / 0.519 GB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.2736, allocations: 0 / 0.519 GB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001088/0.2746, allocations: 366.2 kB / 0.5193 GB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.2747, allocations: 64.2 kB / 0.5194 GB, free: 11.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.2749, allocations: 238.3 kB / 0.5196 GB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2749, allocations: 27.52 kB / 0.5196 GB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.275, allocations: 112.5 kB / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.275, allocations: 48.17 kB / 0.5198 GB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.275, allocations: 3.438 kB / 0.5198 GB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.2751, allocations: 326.7 kB / 0.5201 GB, free: 10.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2752, allocations: 49.02 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2753, allocations: 47.72 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2754, allocations: 53.14 kB / 0.5203 GB, free: 10.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2754, allocations: 0 / 0.5203 GB, free: 10.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002828/0.2757, allocations: 165.6 kB / 0.5204 GB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2758, allocations: 5.031 kB / 0.5204 GB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2758, allocations: 3.953 kB / 0.5204 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2758, allocations: 1.703 kB / 0.5204 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2759, allocations: 32.12 kB / 0.5205 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2759, allocations: 1.094 kB / 0.5205 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.276, allocations: 12.11 kB / 0.5205 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.276, allocations: 5.438 kB / 0.5205 GB, free: 10.41 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 (13): * Single equations (assignments): 13 * 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.815e-05/0.2761, allocations: 137 kB / 0.5206 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2761, allocations: 14.66 kB / 0.5206 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.2765, allocations: 203.9 kB / 0.5208 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2765, allocations: 2.859 kB / 0.5208 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2765, allocations: 1.359 kB / 0.5208 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2765, allocations: 4.625 kB / 0.5208 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.2772, allocations: 0.5056 MB / 0.5213 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.2772, allocations: 1.719 kB / 0.5213 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.2773, allocations: 32.67 kB / 0.5214 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2773, allocations: 0 / 0.5214 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2773, allocations: 4.406 kB / 0.5214 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2773, allocations: 5.516 kB / 0.5214 GB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2773, allocations: 1 kB / 0.5214 GB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.2776, allocations: 264.7 kB / 0.5216 GB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.2776, allocations: 93.12 kB / 0.5217 GB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2776, allocations: 2.047 kB / 0.5217 GB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.2777, allocations: 11.97 kB / 0.5217 GB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.2778, allocations: 12.48 kB / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2778, allocations: 3.672 kB / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.2779, allocations: 181 kB / 0.5219 GB, free: 9.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.2779, allocations: 0 / 0.5219 GB, free: 9.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.2782, allocations: 35.02 kB / 0.5219 GB, free: 9.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0008284/0.279, allocations: 453.9 kB / 0.5224 GB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2793, allocations: 124.5 kB / 0.5225 GB, free: 9.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2793, allocations: 0 / 0.5225 GB, free: 9.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2794, allocations: 59.62 kB / 0.5225 GB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2797, allocations: 24.08 kB / 0.5226 GB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.2802, allocations: 391.2 kB / 0.5229 GB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2803, allocations: 0.7218 MB / 0.5236 GB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.2804, allocations: 22.67 kB / 0.5237 GB, free: 8.262 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2804, allocations: 0 / 0.5237 GB, free: 8.262 MB / 346.7 MB Notification: Performance of Templates: time 0.003718/0.2841, allocations: 2.143 MB / 0.5258 GB, free: 8.023 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches