Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 75.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4936, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003342/0.497, allocations: 1.657 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4981, allocations: 0.5463 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.4982, allocations: 1.5 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.4985, allocations: 97.25 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.4988, allocations: 107.6 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.4991, allocations: 102.8 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.4993, allocations: 103.7 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.4995, allocations: 22.98 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.4996, allocations: 45.7 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4997, allocations: 60.69 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.4997, allocations: 5.5 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4998, allocations: 46.23 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.4999, allocations: 25.48 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.5, allocations: 43.92 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.5002, allocations: 134.5 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.5002, allocations: 1.375 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5002, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5002, allocations: 0 / 0.5339 GB, free: 11.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005811/0.5008, allocations: 433 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5009, allocations: 9.625 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.5009, allocations: 15.72 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.5012, allocations: 217.8 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5012, allocations: 7.062 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5012, allocations: 11.12 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5014, allocations: 70.36 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5014, allocations: 7.953 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5015, allocations: 1.375 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5015, allocations: 1.375 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5016, allocations: 41.8 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.5021, allocations: 324.8 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.5022, allocations: 61.47 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.5023, allocations: 27.72 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5023, allocations: 1.281 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.5024, allocations: 35.98 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.5024, allocations: 0 / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001087/0.5035, allocations: 313.2 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5036, allocations: 56.7 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.5038, allocations: 238.1 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.5039, allocations: 30.86 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.504, allocations: 122.1 kB / 0.5359 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.504, allocations: 41.47 kB / 0.5359 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5041, allocations: 26.8 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5042, allocations: 327.5 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.5043, allocations: 35.25 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-05/0.5044, allocations: 36.77 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.5047, allocations: 101.5 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5047, allocations: 0 / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.5049, allocations: 134.9 kB / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.505, allocations: 9.547 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.505, allocations: 0 / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.505, allocations: 4.938 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5051, allocations: 25.33 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5051, allocations: 0 / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.5052, allocations: 12.19 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5052, allocations: 2.562 kB / 0.5366 GB, free: 9.098 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 (13): * Single equations (assignments): 13 * 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.0001204/0.5053, allocations: 134.9 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.5054, allocations: 15.56 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.5058, allocations: 158.6 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5058, allocations: 9.516 kB / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5058, allocations: 0 / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5058, allocations: 5.281 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.5064, allocations: 481.9 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5065, allocations: 0 / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.5066, allocations: 25.58 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5066, allocations: 5.094 kB / 0.5374 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5066, allocations: 9.109 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5066, allocations: 2.125 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5066, allocations: 4.031 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.5069, allocations: 243.2 kB / 0.5376 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.507, allocations: 88.39 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.507, allocations: 6.453 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.5071, allocations: 7.906 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.5071, allocations: 12.58 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5072, allocations: 7.469 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.5073, allocations: 182.8 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5073, allocations: 0 / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.5076, allocations: 26.44 kB / 0.5379 GB, free: 7.957 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 (13): * Single equations (assignments): 13 * 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.001105/0.5087, allocations: 461.9 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.509, allocations: 96.48 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.509, allocations: 0 / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.5091, allocations: 56.59 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.5095, allocations: 34.44 kB / 0.5386 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.5102, allocations: 312.8 kB / 0.5389 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5106, allocations: 0.717 MB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.5107, allocations: 23.25 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.5107, allocations: 20.69 kB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5107, allocations: 0 / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.005228/0.5159, allocations: 1.552 MB / 0.5411 GB, free: 5.891 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches