Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 117.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001647, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4044, allocations: 62.45 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003144/0.4076, allocations: 1.585 MB / 0.5332 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4093, allocations: 1.156 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.4094, allocations: 3.938 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.4096, allocations: 25.34 kB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.4099, allocations: 81.75 kB / 0.5345 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.4102, allocations: 92.81 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4103, allocations: 63.39 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4104, allocations: 18.86 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.4105, allocations: 21.5 kB / 0.5347 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.4107, allocations: 42.77 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.4107, allocations: 4.125 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.4109, allocations: 98.8 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.4109, allocations: 12.06 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.411, allocations: 19.98 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.4112, allocations: 138.3 kB / 0.535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4112, allocations: 7.875 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4112, allocations: 5.344 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4112, allocations: 0 / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006061/0.4118, allocations: 401.4 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4119, allocations: 9.25 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.412, allocations: 9 kB / 0.5354 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.4122, allocations: 188.4 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4122, allocations: 1.719 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.4122, allocations: 13.98 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.4124, allocations: 64.62 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4124, allocations: 0 / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4124, allocations: 1.344 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4124, allocations: 0 / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.4125, allocations: 25.06 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.4129, allocations: 278.7 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4131, allocations: 43.56 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.4132, allocations: 20.03 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4132, allocations: 4.938 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4133, allocations: 35.62 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4133, allocations: 0 / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005437/0.4138, allocations: 144.9 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4139, allocations: 82.22 kB / 0.5362 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.414, allocations: 141.9 kB / 0.5364 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4141, allocations: 26.8 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.4141, allocations: 91.61 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4142, allocations: 25.86 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.4142, allocations: 14.28 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4143, allocations: 328 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.4144, allocations: 18.42 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.4145, allocations: 34.83 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4146, allocations: 48.17 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4146, allocations: 0 / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001707/0.4148, allocations: 77.45 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4148, allocations: 4.406 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.4148, allocations: 1.188 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4148, allocations: 0 / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.4149, allocations: 13.67 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4149, allocations: 1.312 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.415, allocations: 11.16 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.415, allocations: 9.031 kB / 0.537 GB, free: 9.238 MB / 398.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.4151, allocations: 118.6 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.4151, allocations: 7.531 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.4154, allocations: 96.27 kB / 0.5372 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4154, allocations: 1 kB / 0.5372 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4154, allocations: 0 / 0.5372 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4154, allocations: 1.031 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4158, allocations: 362 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4158, allocations: 1.531 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.4159, allocations: 9.094 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4159, allocations: 0 / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4159, allocations: 1.094 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.4159, allocations: 12.89 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4159, allocations: 0 / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.4161, allocations: 179.9 kB / 0.5378 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.4162, allocations: 82.73 kB / 0.5379 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.4162, allocations: 6.203 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.4163, allocations: 7.562 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.4163, allocations: 2.031 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4163, allocations: 1.906 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.4164, allocations: 114.9 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4164, allocations: 0 / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4167, allocations: 44.64 kB / 0.538 GB, free: 8.281 MB / 398.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.4178, allocations: 0.4905 MB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.418, allocations: 48.42 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.418, allocations: 0 / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.4181, allocations: 27.7 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4184, allocations: 19.39 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4188, allocations: 192.7 kB / 0.5388 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4191, allocations: 0.6895 MB / 0.5395 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4192, allocations: 17.95 kB / 0.5395 GB, free: 7.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4192, allocations: 1 kB / 0.5395 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Templates: time 0.003822/0.423, allocations: 1.935 MB / 0.5414 GB, free: 6.09 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches