Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, 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.264/1.264, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007475, allocations: 98.59 kB / 295.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1826/0.1826, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.000238, allocations: 8 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09216, allocations: 62.95 MB / 0.5153 GB, free: 5.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.001417/0.09362, allocations: 1.311 MB / 0.5166 GB, free: 3.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005797/0.09421, allocations: 491.3 kB / 0.5171 GB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.09426, allocations: 0 / 0.5171 GB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.09446, allocations: 75.83 kB / 0.5171 GB, free: 3.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.09464, allocations: 83.78 kB / 0.5172 GB, free: 3.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.09483, allocations: 79.09 kB / 0.5173 GB, free: 3.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.09495, allocations: 71.75 kB / 0.5174 GB, free: 3.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.09503, allocations: 27.91 kB / 0.5174 GB, free: 2.992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.09508, allocations: 23.91 kB / 0.5174 GB, free: 2.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.09516, allocations: 47.83 kB / 0.5175 GB, free: 2.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.09518, allocations: 0 / 0.5175 GB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.09525, allocations: 39.92 kB / 0.5175 GB, free: 2.883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.09529, allocations: 15.98 kB / 0.5175 GB, free: 2.867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.09532, allocations: 37.64 kB / 0.5176 GB, free: 2.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.09543, allocations: 75.88 kB / 0.5176 GB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.09544, allocations: 0 / 0.5176 GB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09544, allocations: 0 / 0.5176 GB, free: 2.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09545, allocations: 8 kB / 0.5176 GB, free: 2.742 MB / 346.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.0003367/0.0958, allocations: 403.1 kB / 0.518 GB, free: 2.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.09583, allocations: 8.031 kB / 0.518 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.09587, allocations: 15.81 kB / 0.518 GB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.09601, allocations: 191.5 kB / 0.5182 GB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.09603, allocations: 4 kB / 0.5182 GB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.09605, allocations: 4 kB / 0.5182 GB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.09618, allocations: 57.67 kB / 0.5183 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.0962, allocations: 0 / 0.5183 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.09621, allocations: 0 / 0.5183 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.09622, allocations: 4 kB / 0.5183 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.09632, allocations: 35.91 kB / 0.5183 GB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.0966, allocations: 296.8 kB / 0.5186 GB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.0967, allocations: 42.56 kB / 0.5186 GB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.09675, allocations: 24.88 kB / 0.5187 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.09677, allocations: 0 / 0.5187 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.09679, allocations: 30.56 kB / 0.5187 GB, free: 1.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.0968, allocations: 4 kB / 0.5187 GB, free: 1.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007389/0.09754, allocations: 249.1 kB / 0.5189 GB, free: 1.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.09758, allocations: 59.36 kB / 0.519 GB, free: 1.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.09772, allocations: 216.1 kB / 0.5192 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.09773, allocations: 25.7 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.09777, allocations: 112 kB / 0.5193 GB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.09779, allocations: 27.7 kB / 0.5194 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.0978, allocations: 4 kB / 0.5194 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.09785, allocations: 322.8 kB / 0.5197 GB, free: 448 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.09792, allocations: 23.98 kB / 0.5197 GB, free: 424 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.09799, allocations: 35.98 kB / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.09806, allocations: 27.98 kB / 0.5198 GB, free: 360 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.09807, allocations: 0 / 0.5198 GB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000165/0.09824, allocations: 117.6 kB / 0.5199 GB, free: 236 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.09826, allocations: 4 kB / 0.5199 GB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.09827, allocations: 11.88 kB / 0.5199 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.09828, allocations: 0 / 0.5199 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.09838, allocations: 19.98 kB / 0.5199 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.09839, allocations: 3.953 kB / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.09843, allocations: 12.42 kB / 0.5199 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.09844, allocations: 0 / 0.5199 GB, free: 184 kB / 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 (8): * Single equations (assignments): 8 * 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 5.784e-05/0.09851, allocations: 125.8 kB / 0.52 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.09854, allocations: 15.91 kB / 0.5201 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.0988, allocations: 127 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.09882, allocations: 3.984 kB / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.09883, allocations: 0 / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.09884, allocations: 7.953 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.09932, allocations: 407.2 kB / 0.5206 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.09933, allocations: 0 / 0.5206 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.0994, allocations: 23.98 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09941, allocations: 4.031 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.09944, allocations: 7.953 kB / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.09944, allocations: 0 / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09945, allocations: 3.938 kB / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.09969, allocations: 212.3 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.09975, allocations: 92.92 kB / 0.5209 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.09977, allocations: 0 / 0.5209 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.09985, allocations: 11.94 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.09989, allocations: 4 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.0999, allocations: 4 kB / 0.5209 GB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1, allocations: 167.2 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1, allocations: 0 / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.1003, allocations: 20 kB / 0.5211 GB, free: 14.86 MB / 362.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 (8): * Single equations (assignments): 8 * 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.0008992/0.1012, allocations: 461.7 kB / 0.5215 GB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1014, allocations: 71.95 kB / 0.5216 GB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1014, allocations: 4 kB / 0.5216 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.1015, allocations: 44.06 kB / 0.5217 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1018, allocations: 17.41 kB / 0.5217 GB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.1022, allocations: 295.9 kB / 0.522 GB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1025, allocations: 0.7083 MB / 0.5226 GB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1026, allocations: 15.44 kB / 0.5227 GB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1026, allocations: 0 / 0.5227 GB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003114/0.1057, allocations: 1.745 MB / 0.5244 GB, free: 11.61 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches