Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 76.09 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4892, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003322/0.4926, allocations: 1.617 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4937, allocations: 0.5329 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.4938, allocations: 13.34 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.4941, allocations: 72.64 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.4945, allocations: 106.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.4948, allocations: 90.23 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.495, allocations: 84.84 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4951, allocations: 20.05 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.4952, allocations: 35.23 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4953, allocations: 55.78 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4953, allocations: 3.875 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4954, allocations: 45.06 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.4955, allocations: 18.95 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.4956, allocations: 33.8 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.4958, allocations: 105.7 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4958, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4958, allocations: 1.188 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4958, allocations: 4 kB / 0.5338 GB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005892/0.4964, allocations: 416.8 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4964, allocations: 9.562 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.4965, allocations: 10.25 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.4967, allocations: 204 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4967, allocations: 2.938 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.4968, allocations: 5.844 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.4969, allocations: 55.27 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.497, allocations: 7.906 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.497, allocations: 4 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.497, allocations: 1.375 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4971, allocations: 23.11 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.4975, allocations: 298.8 kB / 0.5348 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4976, allocations: 43.16 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4977, allocations: 25.08 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4977, allocations: 0 / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4977, allocations: 39.94 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4977, allocations: 0 / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000903/0.4987, allocations: 229.4 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4987, allocations: 52.78 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4989, allocations: 214.4 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.499, allocations: 26.86 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.499, allocations: 105.4 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.4991, allocations: 26.97 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4991, allocations: 23.27 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4992, allocations: 327.1 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.4993, allocations: 22.2 kB / 0.5358 GB, free: 9.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.4994, allocations: 33.55 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.4996, allocations: 64.02 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4996, allocations: 1.094 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.4998, allocations: 103.4 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4998, allocations: 6.031 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4999, allocations: 0 / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4999, allocations: 0 / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5, allocations: 22.3 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5, allocations: 1.156 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.5001, allocations: 6.344 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5001, allocations: 2.781 kB / 0.5361 GB, free: 9.406 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 (8): * Single equations (assignments): 8 * 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 0.0001062/0.5002, allocations: 127.7 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.5002, allocations: 17.69 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.5005, allocations: 116.3 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5005, allocations: 1.219 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5006, allocations: 0 / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5006, allocations: 7.875 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.5011, allocations: 402.9 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5011, allocations: 1.156 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.5012, allocations: 21.61 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5012, allocations: 5 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5012, allocations: 1.156 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5012, allocations: 1.25 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5012, allocations: 5.109 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.5015, allocations: 207.8 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.5016, allocations: 92.22 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.5016, allocations: 5.062 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.5017, allocations: 7.469 kB / 0.5371 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.5017, allocations: 7.266 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5017, allocations: 2.344 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.5019, allocations: 172.4 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5019, allocations: 4 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.5022, allocations: 17.91 kB / 0.5372 GB, free: 8.355 MB / 398.1 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 (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.001126/0.5033, allocations: 462.3 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.5036, allocations: 70.28 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5036, allocations: 0 / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.5037, allocations: 37.27 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5041, allocations: 18.95 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.5047, allocations: 262.2 kB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.505, allocations: 0.7036 MB / 0.5387 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.505, allocations: 11.88 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.5051, allocations: 17.03 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5051, allocations: 1.062 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of Templates: time 0.004808/0.5099, allocations: 1.368 MB / 0.5401 GB, free: 6.438 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches